Enumerations

The following enumerations are available globally.

  • An enum that represents websocket error codes.

    This enum provides names to all non-reserved code numbers, to avoid users needing to remember the specific numerical values of those codes.

    See more

    Declaration

    Swift

    public enum WebSocketErrorCode
  • Errors thrown by the NIO websocket module.

    See more

    Declaration

    Swift

    public enum NIOWebSocketError : Error
  • Errors that can be thrown by NIOWebSocket during protocol upgrade.

    See more

    Declaration

    Swift

    public enum NIOWebSocketUpgradeError : Error