Skip to content
leeway edited this page Nov 19, 2021 · 1 revision

WebSocketDelegate

public protocol WebSocketDelegate: class 

Inheritance

class

Requirements

websocketDidConnect(socket:​)

func websocketDidConnect(socket: WebSocketClient)

websocketDidDisconnect(socket:​error:​)

func websocketDidDisconnect(socket: WebSocketClient, error: Error?)

websocketDidReceiveMessage(socket:​text:​)

func websocketDidReceiveMessage(socket: WebSocketClient, text: String)

websocketDidReceiveData(socket:​data:​)

func websocketDidReceiveData(socket: WebSocketClient, data: Data)
Types
Protocols
Global Variables
Clone this wiki locally