WebSocketSession

public protocol WebSocketSession

Represents a session of the WebSocket server you provide to a client browser.

  • Sends a message to the respective WebSocket client.

    Declaration

    Swift

    func write(text: String)