lambda_to_hyper_request

Function lambda_to_hyper_request 

Source
pub fn lambda_to_hyper_request(
    lambda_req: Request,
) -> Result<Request<MapErr<Full<Bytes>, fn(Infallible) -> Error>>>
Expand description

Convert lambda_http::Request to hyper::Request

This enables delegation to SessionMcpHandler by converting Lambda’s request format to the hyper format expected by the framework. All headers are preserved.