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

This commit is contained in:
Wen Bo Xie authored and GitHub committed 2023-09-29 16:45:42 +00:00
1 parent 4023ef2885
commit aed59dd84f
1 file changed
-8
@@ -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