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 07b9a2a commit 9bfd2e1Copy full SHA for 9bfd2e1
src/index.js
@@ -37,6 +37,7 @@ function mapApiGatewayEventToHttpRequest (event, context, socketPath) {
37
38
return {
39
method: event.httpMethod,
40
+ protocol: headers['x-api-scheme'] || 'http',
41
path: getPathWithQueryStringParams(event),
42
headers,
43
socketPath
0 commit comments