Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: remove realtime-js client reference in Broadcast docs (#17807)

Wen Bo Xieaed59dd84f2a
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