Skip to content

Instantly share code, notes, and snippets.

@ran-isenberg
Created November 12, 2024 12:12
Show Gist options
  • Save ran-isenberg/7c73a1db17a5d47ac5da5e19f0a3529f to your computer and use it in GitHub Desktop.
Save ran-isenberg/7c73a1db17a5d47ac5da5e19f0a3529f to your computer and use it in GitHub Desktop.
api_gw_websocket_api_connect.json
{
'headers': {
'Host': 'fjnq7njcv2.execute-api.us-east-1.amazonaws.com',
'Sec-WebSocket-Extensions': 'permessage-deflate; client_max_window_bits',
'Sec-WebSocket-Key': '+W5xw47OHh3OTFsWKjGu9Q==',
'Sec-WebSocket-Version': '13',
'X-Amzn-Trace-Id': 'Root=1-6731ebfc-08e1e656421db73c5d2eef31',
'X-Forwarded-For': '166.90.225.1',
'X-Forwarded-Port': '443',
'X-Forwarded-Proto': 'https'
},
'multiValueHeaders': {
'Host': ['fjnq7njcv2.execute-api.us-east-1.amazonaws.com'],
'Sec-WebSocket-Extensions': ['permessage-deflate; client_max_window_bits'],
'Sec-WebSocket-Key': ['+W5xw47OHh3OTFsWKjGu9Q=='],
'Sec-WebSocket-Version': ['13'],
'X-Amzn-Trace-Id': ['Root=1-6731ebfc-08e1e656421db73c5d2eef31'],
'X-Forwarded-For': ['166.90.225.1'],
'X-Forwarded-Port': ['443'],
'X-Forwarded-Proto': ['https']
},
'requestContext': {
'routeKey': '$connect',
'eventType': 'CONNECT',
'extendedRequestId': 'BFHPhFe3IAMF95g=',
'requestTime': '11/Nov/2024:11:35:24 +0000',
'messageDirection': 'IN',
'stage': 'prod',
'connectedAt': 1731324924553,
'requestTimeEpoch': 1731324924561,
'identity': {
'sourceIp': '166.90.225.1'
},
'requestId': 'BFHPhFe3IAMF95g=',
'domainName': 'asasasas.execute-api.us-east-1.amazonaws.com',
'connectionId': 'BFHPhfCWIAMCKlQ=',
'apiId': 'asasasas'
},
'isBase64Encoded': False
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment