Skip to content

CocoaMQTTWebSocketConnectionDelegate

leeway edited this page Nov 19, 2021 · 1 revision

CocoaMQTTWebSocketConnectionDelegate

public protocol CocoaMQTTWebSocketConnectionDelegate: AnyObject 

Inheritance

AnyObject

Requirements

connection(_:​didReceive:​completionHandler:​)

func connection(_ conn: CocoaMQTTWebSocketConnection, didReceive trust: SecTrust, completionHandler: @escaping (Bool) -> Swift.Void)

connectionOpened(_:​)

func connectionOpened(_ conn: CocoaMQTTWebSocketConnection)

connectionClosed(_:​withError:​)

func connectionClosed(_ conn: CocoaMQTTWebSocketConnection, withError error: Error?)

connection(_:​receivedString:​)

func connection(_ conn: CocoaMQTTWebSocketConnection, receivedString string: String)

connection(_:​receivedData:​)

func connection(_ conn: CocoaMQTTWebSocketConnection, receivedData data: Data)
Types
Protocols
Global Variables
Clone this wiki locally