Protocols

The following protocols are available globally.

  • A marking protocol that says a type can be represented in a socket.io packet.

    Declaration

    Swift

    public protocol SocketData
  • Represents a class will log client events.

    See more

    Declaration

    Swift

    public protocol SocketLogger : class
  • Declares that a type will be a delegate to an engine.

    See more

    Declaration

    Swift

    @objc public protocol SocketEngineClient