Skip to main content

op_id_for

Function op_id_for 

Source
pub fn op_id_for(ctx: &RequestCtx<'_>, request_id: &RequestId) -> String
Expand description

Resolves the op id for a request: the validated client-supplied X-Op-Id, or the proxy’s own request id when the header is absent or malformed. Always returns a usable id so the loop can always be correlated.