masque_tcp_server_session (masque v0.7.0)

View Source

Per-tunnel server session for CONNECT-TCP.

Raw bytes on the HTTP stream body are relayed to/from the handler module. No datagram framing, no context-IDs. Stream END_STREAM maps to TCP FIN.

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)