hyper_to_lambda_streaming

Function hyper_to_lambda_streaming 

Source
pub fn hyper_to_lambda_streaming(
    hyper_resp: Response<UnsyncBoxBody<Bytes, Error>>,
) -> Response<UnsyncBoxBody<Bytes, Error>>
Expand description

Convert hyper::Response to lambda_http streaming response

This preserves the streaming body for real-time SSE responses. Used by the handle_streaming() method for true streaming.