echo_boy v0.4.0 EchoBoy.WebSocket
Link to this section Summary
Functions
Send the payload back to the client for all other messages. Don't send a reply for other messages.
Format and forward elixir messages to client
Called on websocket connection initialization.
No matter why we terminate, remove all of this pids subscriptions
Link to this section Functions
Link to this function
init(_, req, opts)
Link to this function
websocket_handle(arg, req, state)
Send the payload back to the client for all other messages. Don't send a reply for other messages.
Link to this function
websocket_info(message, req, state)
Format and forward elixir messages to client
Link to this function
websocket_init(type, req, opts)
Called on websocket connection initialization.
Link to this function
websocket_terminate(reason, req, state)
No matter why we terminate, remove all of this pids subscriptions