-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
RFC: Powertools Web Sockets Support (Draft) #84
Comments
Proposal TL;DR; Create annotations as part of the proposed PowerTools which users can import into their project. Users can annotate the Lambda functions that handle WebSocket events like Initial Setup
Scenario: Initial connection Users would initiate the WebSocket connection to the API Gateway invoking the
The annotation Scenario: Backend needs to push a message to WebSockets
The advice backing Scenario: Disconnect from client and server side Scenario: Custom WebSocket route is invoked
A Lambda that is annotated with |
Within Middy (for NodeJS runtime), we have ws-routter and ws-response as part of our collection of middlwares people can use. Maybe these can be a starting point if this RFC moves forward. |
Key information
Summary
Motivation
Proposal
If this feature should be available in other runtimes (e.g. Java), how would this look like to ensure consistency?
User Experience
How would customers use it?
Any configuration or corner cases you'd expect?
Demonstration of before and after on how the experience will be better
Drawbacks
Rationale and alternatives
Unresolved questions
The text was updated successfully, but these errors were encountered: