Protocols

The following protocols are available globally.

  • An object that implements HTTPServerProtocolUpgrader knows how to handle HTTP upgrade to a protocol on a server-side channel.

    See more

    Declaration

    Swift

    public protocol HTTPServerProtocolUpgrader
  • An object that implements NIOHTTPClientProtocolUpgrader knows how to handle HTTP upgrade to a protocol on a client-side channel. It has the option of denying this upgrade based upon the server response.

    See more

    Declaration

    Swift

    public protocol NIOHTTPClientProtocolUpgrader