WebSocketTransportDelegate


PROTOCOL

WebSocketTransportDelegate

Swift
1public protocol WebSocketTransportDelegate: AnyObject

Methods

webSocketTransportDidConnect(_:)

Swift
1func webSocketTransportDidConnect(_ webSocketTransport: WebSocketTransport)

webSocketTransportDidReconnect(_:)

Swift
1func webSocketTransportDidReconnect(_ webSocketTransport: WebSocketTransport)

webSocketTransport(_:didDisconnectWithError:)

Swift
1func webSocketTransport(_ webSocketTransport: WebSocketTransport, didDisconnectWithError error:Error?)
Feedback

Edit on GitHub

Forums