riverside v1.0.1 Riverside.Connection
Link to this section Summary
Functions
Callback implementation for c::cowboy_websocket.init/2
Callback implementation for c::cowboy_websocket.terminate/3
Callback implementation for c::cowboy_websocket.websocket_handle/2
Callback implementation for c::cowboy_websocket.websocket_info/2
Callback implementation for c::cowboy_websocket.websocket_init/1
Link to this section Types
Link to this type
t()
t() :: %Riverside.Connection{handler: module, handler_state: any, session: Riverside.Session.t, shutdown_reason: shutdown_reason}
Link to this section Functions
Link to this function
init(req, opts)
Callback implementation for c::cowboy_websocket.init/2
.
Link to this function
new(handler, user_id, session_id, peer, handler_state)
Link to this function
terminate(reason, req, state)
Callback implementation for c::cowboy_websocket.terminate/3
.
Link to this function
websocket_handle(event, state)
Callback implementation for c::cowboy_websocket.websocket_handle/2
.
Link to this function
websocket_info(event, state)
Callback implementation for c::cowboy_websocket.websocket_info/2
.
Link to this function
websocket_init(state)
Callback implementation for c::cowboy_websocket.websocket_init/1
.