From 0836d22ec536020313ecd2ced39dfc81c6c42a72 Mon Sep 17 00:00:00 2001 From: Andrea Cristaudo Date: Wed, 1 Nov 2023 06:51:18 +0100 Subject: [PATCH] Cite bref/api-gateway-websocket-client in the websockets docs page bref/api-gateway-websocket-client is not cited in either the websockets documentation or the Serverless Visually Explained websockets documentation (and there the namespace is also not updated) --- docs/use-cases/websockets.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/use-cases/websockets.mdx b/docs/use-cases/websockets.mdx index 0ecdbdcc5..42f1f1b82 100644 --- a/docs/use-cases/websockets.mdx +++ b/docs/use-cases/websockets.mdx @@ -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/).