Classes

The following classes are available globally.

  • The implementation of the ConnectionUpgradeFactory protocol for the WebSocket protocol. Participates in the HTTP protocol upgrade process when upgarding to the WebSocket protocol.

    See more

    Declaration

    Swift

    public class WSConnectionUpgradeFactory : ConnectionUpgradeFactory
  • Main class for the Kitura-WebSocket API. Used to register WebSocketService classes that will handle WebSocket connections for specific paths.

    See more

    Declaration

    Swift

    public class WebSocket
  • Represents a specific WebSocket connection. Provides a unique identifier for the connection and APIs to send messages and control commands to the client at the other end of the connection.

    See more

    Declaration

    Swift

    public class WebSocketConnection