WebSocketEvent

public enum WebSocketEvent : Sendable

Undocumented

  • Undocumented

    Declaration

    Swift

    case connected([String : String])
  • Undocumented

    Declaration

    Swift

    case disconnected(String, UInt16)
  • Undocumented

    Declaration

    Swift

    case text(String)
  • Undocumented

    Declaration

    Swift

    case binary(Data)
  • Undocumented

    Declaration

    Swift

    case pong(Data?)
  • Undocumented

    Declaration

    Swift

    case ping(Data?)
  • Undocumented

    Declaration

    Swift

    case error(Error?)
  • Undocumented

    Declaration

    Swift

    case viabilityChanged(Bool)
  • Undocumented

    Declaration

    Swift

    case reconnectSuggested(Bool)
  • Undocumented

    Declaration

    Swift

    case cancelled
  • Undocumented

    Declaration

    Swift

    case peerClosed