Skip to main content

Module get_session_token_dispatch

Module get_session_token_dispatch 

Source
Expand description

GetSessionToken RPC dispatch (zackees/soldr#2361 Phase 2, #2363).

Mirrors super::get_http_endpoint_dispatch’s shape exactly: this slice exposes the typed request/response handler over super::server::session_token::SessionTokenAuthority so a later slice can wire it into the broker’s control-channel connection loop. See broker_v2_control.proto’s GetSessionTokenRequest doc comment for why this lives on the v2 control channel rather than the frozen v1 Hello/Negotiated envelope.

Enums§

GetSessionTokenDispatchError
Errors from decode_request_and_dispatch.

Functions§

decode_request_and_dispatch
Decode an incoming GetSessionTokenRequest frame body and produce a serialized GetSessionTokenResponse body the connection loop can write back via protocol::write_frame.