What is the simplest way to have local http server in iOS app?

This page summarizes the projects mentioned and recommended in the original post on /r/iOSProgramming

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • CocoaHTTPServer

    A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications

  • Ambassador

    Super lightweight web framework in Swift based on SWSGI (by envoy)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • GCDWebServer

    Discontinued The #1 HTTP server for iOS, macOS & tvOS (also includes web based uploader & WebDAV server)

  • swift-nio

    Event-driven network application framework for high performance protocol servers & clients, non-blocking.

  • I would look at NIO or something that uses it, like https://diamantidis.github.io/2019/10/27/swift-nio-server-in-an-ios-app

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts