nova_ws_handler (nova v0.14.3)

View Source

Callback controller for handling websockets

Summary

Types

nova_ws_state/0

-type nova_ws_state() :: #{controller_data := map(), mod := atom(), _ := _}.

Functions

init(Req, State)

terminate(Reason, PartialReq, State)

websocket_handle(Frame, State)

websocket_info(Msg, State)

websocket_init(State)