Skip to content

Commit

Permalink
Merge pull request #1680 from andrea-cristaudo/patch-1
Browse files Browse the repository at this point in the history
Cite bref/api-gateway-websocket-client in the websockets docs page
  • Loading branch information
mnapoli authored Nov 1, 2023
2 parents 2130960 + 0836d22 commit c00e20a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/use-cases/websockets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class MyHandler extends WebsocketHandler
}
```

To send a message to a client connected you can use [bref/api-gateway-websocket-client library](https://github.com/brefphp/api-gateway-websocket-client) to make an http request to the endpoint provided by AWS.

Learn more about using WebSockets in `serverless.yml` [in the Serverless Framework documentation](https://www.serverless.com/framework/docs/providers/aws/events/websocket/).

<Callout>
Expand Down

0 comments on commit c00e20a

Please sign in to comment.