Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Protocol

Server

A server that can handle HTTP requests.
protocol Server : Service

Topics

Instance Properties

  • var listeningAddress: SocketAddress
    The address the server is listening on. Suspends until the server has bound or throws an error if the server failed to start, or if stopped

Relationships

Inherits From

  • ServiceLifecycle.Service
  • Swift.Sendable
  • Swift.SendableMetatype