nova_ws_handler (NOVA vv0.8.0)

Callback controller for handling websockets

Link to this section Summary

Link to this section Types

Link to this type

nova_ws_state/0

Specs

nova_ws_state() ::
    #{controller_data := map(),
      mod := atom(),
      subprotocols := [any()],
      nova_handler := nova_ws_handler,
      _ := _}.

Link to this section Functions

Link to this function

init(Req, State)

Link to this function

terminate(Reason, PartialReq, State)

Link to this function

websocket_handle(Frame, State)

Link to this function

websocket_info(Msg, State)

Link to this function

websocket_init(State)