masque_server_session (masque v0.7.0)

View Source

Per-tunnel server-side session.

One of these is spawned by the listener's handler fun after a CONNECT-UDP request passes validation. It receives routed datagrams from the connection router (masque_server_connection) and invokes the configured user handler module to produce reply datagrams or close the session.

Summary

Functions

code_change(OldVsn, S, Extra)

handle_call(Req, From, State)

handle_cast(Msg, S)

handle_info(Msg, State)

init(_)

start_link(Args)

-spec start_link(map()) -> {ok, pid()} | ignore | {error, term()}.

terminate(Reason, State)