Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #99 from exoego/apigateway-protocol
Browse files Browse the repository at this point in the history
Add protocol to APIGatewayEventRequestContext
  • Loading branch information
exoego authored Feb 24, 2020
2 parents 68227b6 + 6115a7e commit 180c84b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/scala/net/exoego/facade/aws_lambda/apigateway.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ trait APIGatewayEventRequestContext extends js.Object {
var domainPrefix: js.UndefOr[String] = js.native
var eventType: js.UndefOr[String] = js.native
var extendedRequestId: js.UndefOr[String] = js.native
var protocol: String = js.native
var httpMethod: String = js.native
var identity: APIGatewayEventRequestContext.Identity = js.native
var messageDirection: js.UndefOr[String] = js.native
Expand All @@ -33,6 +34,7 @@ object APIGatewayEventRequestContext {
def apply(
accountId: String,
apiId: String,
protocol: String,
httpMethod: String,
identity: APIGatewayEventRequestContext.Identity,
path: String,
Expand All @@ -56,6 +58,7 @@ object APIGatewayEventRequestContext {
val _obj$ = js.Dynamic.literal(
"accountId" -> accountId.asInstanceOf[js.Any],
"apiId" -> apiId.asInstanceOf[js.Any],
"protocol" -> protocol.asInstanceOf[js.Any],
"httpMethod" -> httpMethod.asInstanceOf[js.Any],
"identity" -> identity.asInstanceOf[js.Any],
"path" -> path.asInstanceOf[js.Any],
Expand Down

0 comments on commit 180c84b

Please sign in to comment.