mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 18:35:07 +03:00
docs: remove realtime-js client reference in Broadcast docs (#17807)
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user