From aed59dd84f2a656dc5a7669b47bce8920d417d39 Mon Sep 17 00:00:00 2001 From: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com> Date: Fri, 29 Sep 2023 12:45:42 -0400 Subject: [PATCH] docs: remove realtime-js client reference in Broadcast docs (#17807) --- apps/docs/pages/guides/realtime/broadcast.mdx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/docs/pages/guides/realtime/broadcast.mdx b/apps/docs/pages/guides/realtime/broadcast.mdx index 06394993242..01c49dc3f3f 100644 --- a/apps/docs/pages/guides/realtime/broadcast.mdx +++ b/apps/docs/pages/guides/realtime/broadcast.mdx @@ -140,14 +140,6 @@ Use this to guarantee that the server has received the message before resolving You can also send a Broadcast message by making an HTTP request to Reatlime servers. This is useful when you want to send messages from your server or client without having to first establish a WebSocket connection. ```js -import { RealtimeClient } from '@supabase/realtime-js' - -const client = new RealtimeClient(REALTIME_URL, { - params: { - apikey: API_KEY, - }, -}) - const channel = client.channel('test-channel') // No need to subscribe to channel