Enumerations

The following enumerations are available globally.

  • The WebSocketCloseReasonCode enum defines the set of reason codes that a WebSocket application can send/receive when a connection is closed.

    See more

    Declaration

    Swift

    public enum WebSocketCloseReasonCode
  • An error enum used when throwing errors within KituraWebSocket.

    See more

    Declaration

    Swift

    public enum WebSocketError : Error
    extension WebSocketError: CustomStringConvertible