Skip to content

Protocol

Server

protocol Server : Sendable

Topics

Instance Properties

Instance Methods

  • shutdown()
    Shut the server down.
  • start()
    Start the server with its default configuration, listening over a regular TCP socket.
  • start(address:)
    Start the server with the specified address.
  • start(hostname:port:)
    Start the server with the specified hostname and port, if provided. If left blank, the server will be started with its default configuration.

Relationships

Inherits From

  • Swift.Sendable
  • Swift.SendableMetatype

Conforming Types