Skip to main content

Module SendRequest

Module SendRequest 

Source
Expand description

Send a request and await a response. Validates method-name length and message size, prefers the streaming multiplexer when LAND_VINE_STREAMING=1 is on and the multiplexer cargo feature is enabled (falls through to unary on any failure except the authoritative streaming-path timeout), enforces a per-call timeout via tokio::time::timeout, and updates per-connection activity / failure metadata on completion.

The hard upper bound on per-call timeouts is crate::DefaultRequestTimeoutMs (15 000 ms); when the caller passes 0 for TimeoutMilliseconds the unary path falls back to [Shared::DEFAULT_TIMEOUT_MS] (5 000 ms).

Functionsยง

Fn