Skip to content

CocoaMQTTSocketDelegate

leeway edited this page Nov 19, 2021 · 1 revision

CocoaMQTTSocketDelegate

public protocol CocoaMQTTSocketDelegate: AnyObject 

Inheritance

AnyObject

Requirements

socketConnected(_:​)

func socketConnected(_ socket: CocoaMQTTSocketProtocol)

socket(_:​didReceive:​completionHandler:​)

func socket(_ socket: CocoaMQTTSocketProtocol, didReceive trust: SecTrust, completionHandler: @escaping (Bool) -> Swift.Void)

socket(_:​didWriteDataWithTag:​)

func socket(_ socket: CocoaMQTTSocketProtocol, didWriteDataWithTag tag: Int)

socket(_:​didRead:​withTag:​)

func socket(_ socket: CocoaMQTTSocketProtocol, didRead data: Data, withTag tag: Int)

socketDidDisconnect(_:​withError:​)

func socketDidDisconnect(_ socket: CocoaMQTTSocketProtocol, withError err: Error?)
Types
Protocols
Global Variables
Clone this wiki locally