We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in WebsocketAPI can we have a method that closes a websocket connection with a specified code?
WebsocketAPI
similar to this
according to the websocket protocol we should be able to do this -> spec
right now, in API gateway logs, the connection is always closed with status code 1000 when calling the existing close method:
close
app.websocket_api.close(event.connection_id)
API gateway logs:
Endpoint request body after transformations: ... { "routeKey": "$disconnect", "disconnectStatusCode": 1000, "authorizer": { "principalId": "user" }, "eventType": "DISCONNECT", "requestTime": "20/Jul/2023:23:29:25 +0000", "messageDirection": "IN", "disconnectReason": "Connection Closed Normally", "connectedAt": 1689895754759, "requestTimeEpoch": 1689895765983, ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
in
WebsocketAPI
can we have a method that closes a websocket connection with a specified code?similar to this
according to the websocket protocol we should be able to do this -> spec
right now, in API gateway logs, the connection is always closed with status code 1000 when calling the existing
close
method:API gateway logs:
The text was updated successfully, but these errors were encountered: