pycsamt.iot.protocols.websocket#
WebSocket telemetry transport (optional dependency: websocket-client).
WebSocketTelemetryClient sends JSON frames to a ws:// or
wss:// endpoint and receives them back. The websocket-client
package is imported lazily.
Classes
|
Send/receive telemetry over a WebSocket connection. |
- class pycsamt.iot.protocols.websocket.WebSocketTelemetryClient(endpoint=None, *, dry_run=False, timeout=10.0, **options)[source]#
Bases:
BaseTelemetryClientSend/receive telemetry over a WebSocket connection.
- protocol: IoTProtocol = 'websocket'#