File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Streaming+APIGateway/Sources
Streaming+FunctionUrl/Sources Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ struct SendNumbersWithPause: StreamingLambdaHandler {
3030 context: LambdaContext
3131 ) async throws {
3232
33- // the payload here is an API Gateway V1 request
33+ // the payload here is an API Gateway V1 request
3434 // Check the body of the request to extract the business event
3535 let payload = try JSONDecoder ( ) . decode ( APIGatewayRequest . self, from: Data ( event. readableBytesView) )
3636 let _ = payload. body
37-
37+
3838 // Send HTTP status code and headers before streaming the response body
3939 try await responseWriter. writeStatusAndHeaders (
4040 StreamingLambdaStatusAndHeadersResponse (
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ struct SendNumbersWithPause: StreamingLambdaHandler {
3030 context: LambdaContext
3131 ) async throws {
3232
33- // The payload here is a FunctionURLRequest.
33+ // The payload here is a FunctionURLRequest.
3434 // Check the body parameters for the business event
3535 let payload = try JSONDecoder ( ) . decode ( FunctionURLRequest . self, from: Data ( event. readableBytesView) )
3636 let _ = payload. body
37-
37+
3838 // Send HTTP status code and headers before streaming the response body
3939 try await responseWriter. writeStatusAndHeaders (
4040 StreamingLambdaStatusAndHeadersResponse (
You can’t perform that action at this time.
0 commit comments