class Worker::ApiClient::WebsocketClient
- Worker::ApiClient::WebsocketClient
- Reference
- Object
Defined in:
worker/api_client/websocket_client.crConstant Summary
-
Log =
Worker::ApiClient::Log.for("ws")
-
RECONNECT_INTERVAL =
30.seconds
Constructors
Instance Method Summary
- #message(channel : String, data : String)
- #on(channel : String, &block : MessageHandler) : Nil
- #run : Nil
- #stop : Nil