You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ $ npm i @fastify/aws-lambda
31
31
| retainStage | Retain the stage part of the API Gateway URL |`false`|
32
32
| pathParameterUsedAsPath | Use a defined pathParameter as path (i.e. `'proxy'`) |`false`|
33
33
| parseCommaSeparatedQueryParams | Parse querystring with commas into an array of values. Affects the behavior of the querystring parser with commas while using [Payload Format Version 2.0](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html#http-api-develop-integrations-lambda.proxy-format)|`true`|
34
+
| payloadAsStream | If set to true the response is a stream and can be used with `awslambda.streamifyResponse`|`false`|
34
35
## 📖Example
35
36
36
37
### lambda.js
@@ -122,6 +123,27 @@ await app.ready() // needs to be placed after awsLambdaFastify call because of t
122
123
*[Here](https://github.com/fastify/aws-lambda-fastify/issues/89) you can find the approriate issue discussing this feature.*
123
124
124
125
126
+
#### Support for response streaming (`payloadAsStream`)
0 commit comments