Skip to main content

admit_final_http_request

Function admit_final_http_request 

Source
pub fn admit_final_http_request(
    metadata: FinalHttpRequestMetadata<'_>,
) -> Result<FinalRequestAdmission, RequestAdmissionError>
Expand description

Admits the standard final HTTP header mirrors for a request.

Protocol-version admission occurs first. Once that mirror selects the final protocol, Mcp-Method must exactly match the JSON-RPC method. The Mcp-Name mirror is then required for name- or identifier-addressed methods, including official Tasks operations; no extra header is inferred for other methods.