wsClient property

WebSocket get wsClient

The socket that maintains the connection to the MQTT broker. Get and set methods preserve type information.

Implementation

WebSocket get wsClient => (client as WebSocket);