Skip to content

WebSocketAdvancedDelegate

leeway edited this page Nov 19, 2021 · 1 revision

WebSocketAdvancedDelegate

public protocol WebSocketAdvancedDelegate: class 

Inheritance

class

Requirements

websocketDidConnect(socket:​)

func websocketDidConnect(socket: WebSocket)

websocketDidDisconnect(socket:​error:​)

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

websocketDidReceiveMessage(socket:​text:​response:​)

func websocketDidReceiveMessage(socket: WebSocket, text: String, response: WebSocket.WSResponse)

websocketDidReceiveData(socket:​data:​response:​)

func websocketDidReceiveData(socket: WebSocket, data: Data, response: WebSocket.WSResponse)

websocketHttpUpgrade(socket:​request:​)

func websocketHttpUpgrade(socket: WebSocket, request: String)

websocketHttpUpgrade(socket:​response:​)

func websocketHttpUpgrade(socket: WebSocket, response: String)
Types
Protocols
Global Variables
Clone this wiki locally