code for article pfeilbr/aws-api-gateway-websockets-serverless-playground
update 2019-10-03: websocket events are now “natively supported in serverless framework” no longer need to use serverless-websockets-plugin
. see https://serverless.com/framework/docs/providers/aws/events/websocket/
below uses serverless-websockets-plugin
learn AWS API Gateway Websockets with serverless framework
- Using API Gateway WebSockets with the Serverless Framework
- serverless-websockets-plugin/example
- Control Access to a WebSocket API in API Gateway
- API Gateway Limits for Configuring and Running a WebSocket API
Twitter • Reddit