Search documentation of nova
nova
v0.10.1
Pages
Modules
Settings
View Source
nova_ws_handler
(nova v0.10.1)
Callback controller for handling websockets
Summary
Types
nova_ws_state/0
Functions
init(Req, State)
terminate(Reason, PartialReq, State)
websocket_handle(Frame, State)
websocket_info(Msg, State)
websocket_init(State)
Types
Link to this type
nova_ws_state/0
View Source
-type
nova_ws_state() :: #{controller_data := map(), mod := atom(), _ := _}.
Functions
Link to this function
init(Req, State)
View Source
Link to this function
terminate(Reason, PartialReq, State)
View Source
Link to this function
websocket_handle(Frame, State)
View Source
Link to this function
websocket_info(Msg, State)
View Source
Link to this function
websocket_init(State)
View Source