Skip to content

Add Support for API Gateway Proxy events for WebSocket API #71

Closed
@musketyr

Description

@musketyr

the event for API Gateway Proxy events for WebSocket API has different format of the requestContext. Please, add support for these events as well.

{
    "requestContext": {
        "routeKey": "$default",
        "messageId": "Ti89OAAt3vcAAAQ=",
        "eventType": "MESSAGE",
        "extendedRequestId": "Ti89OF32joEFbiA=",
        "requestTime": "15/Jan/2019:13:09:27 +0000",
        "messageDirection": "IN",
        "stage": "test",
        "connectedAt": 1547557733712,
        "requestTimeEpoch": 1547557767850,
        "identity": {
            "sourceIp": "89.24.55.85"
        },
        "requestId": "Ti89OF32joEFbiA=",
        "domainName": "jzla12ar9e.execute-api.eu-west-1.amazonaws.com",
        "connectionId": "Ti835f_GEowCETQ=",
        "apiId": "jzla12ar9e"
    },
    "body": "hello",
    "isBase64Encoded": false
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions