smart_websocket_client v0.1.0 API Reference

Modules

SmartWebsocketClient is a (not-so) smart websocket client with pool support

SmartWebsocketClient.Connection is a struct with the data required to establish a connection to a websocket server

Behaviour to act on received messages

This module is used to keep some state of the SWC. Notably, we need its supervisor’s pid and the pool name

SmartWebsocketClient.Pool is a struct with the data required to create a pool of websocket connections

Generic websocket interface