We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce636ac commit e87ad74Copy full SHA for e87ad74
lambda-http/src/streaming.rs
@@ -77,7 +77,7 @@ where
77
/// Used internally by [`run_with_streaming_response`]; not part of the public
78
/// API.
79
#[allow(clippy::type_complexity)]
80
-fn into_streaming_response<'a, S, B, E>(
+fn into_stream_service<'a, S, B, E>(
81
handler: S,
82
) -> MapResponse<
83
MapRequest<S, impl FnMut(LambdaEvent<LambdaRequest>) -> Request>,
@@ -143,7 +143,7 @@ where
143
B::Data: Into<Bytes> + Send,
144
B::Error: Into<Error> + Send + Debug,
145
{
146
- lambda_runtime::run(into_streaming_response(handler)).await
+ lambda_runtime::run(into_stream_service(handler)).await
147
}
148
149
pin_project_lite::pin_project! {
0 commit comments