phoenix_channel_client v0.3.2 PhoenixChannelClient.Adapters.WebsocketClient

Link to this section Summary

Functions

Receives JSON encoded Socket.Message from remote WS endpoint and forwards message to client sender process

Sends JSON encoded Socket.Message to remote WS endpoint

Link to this section Functions

Callback implementation for PhoenixChannelClient.Adapter.close/1.

Link to this function onconnect(_, state)
Link to this function ondisconnect(arg, state)
Link to this function open(url, adapter_opts)

Callback implementation for PhoenixChannelClient.Adapter.open/2.

Link to this function websocket_handle(arg, conn_state, state)

Receives JSON encoded Socket.Message from remote WS endpoint and forwards message to client sender process

Link to this function websocket_info(arg1, conn_state, state)

Sends JSON encoded Socket.Message to remote WS endpoint

Link to this function websocket_terminate(reason, conn_state, state)