masque_ip_server_session (masque v0.7.0)

View Source

Per-tunnel server session for CONNECT-IP (RFC 9484).

Transport-generic (H3 + H2) in the shape of masque_tcp_server_session: a single gen_server with a transport :: h3 | h2 field that dispatches at the transport boundary. Over H3 the datagram channel is QUIC DATAGRAM frames (delivered via the connection router as {masque_datagram_in, StreamId, Payload}); over H2 it is the RFC 9297 DATAGRAM-type capsule on the stream body.

Summary

Functions

code_change(OldVsn, S, Extra)

handle_call(Req, From, State)

handle_cast(Msg, S)

handle_info(Msg, State)

init(Args)

start_link(Args)

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

terminate(Reason, State)