farmbot v6.0.1-alpha Farmbot.BotState.Transport.HTTP.SocketHandler View Source

Handles the websocket connection from a browser.

Link to this section Summary

Functions

Callback implementation for c::cowboy_websocket_handler.websocket_info/3

Callback implementation for c::cowboy_websocket_handler.websocket_init/3

Callback implementation for c::cowboy_websocket_handler.websocket_terminate/3

Link to this section Functions

Link to this function websocket_info(arg, req, state) View Source

Callback implementation for c::cowboy_websocket_handler.websocket_info/3.

Link to this function websocket_init(type, req, options) View Source

Callback implementation for c::cowboy_websocket_handler.websocket_init/3.

Link to this function websocket_terminate(reason, req, state) View Source

Callback implementation for c::cowboy_websocket_handler.websocket_terminate/3.