flâneur — a map of the web's best reading

Serverless Framework - AWS Lambda Events - Websocket

serverless.com · 1,022 words · saved by 1 readers

The Serverless Framework documentation for AWS Lambda, API Gateway, EventBridge, DynamoDB and much more.

Websocket Websockets make it possible to add support for a bi-directional communication channel between clients and servers. Connection channels are kept alive and are re-used to exchange messages back-and-forth. The Serverless Framework makes it possible to setup an API Gateway powered Websocket backend with the help of the websocket event. Event Definition Simple The following code will setup a websocket with a $connect route key: functions: connectHandler: handler: handler.connectHandler events: - websocket: $connect Extended This code will setup a websocket with a $disconnect route key: fu

Explore this link on the map →

saved by

related reading