mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
docs: Move the js specific note into js tab on Broadcast REST API section (#20459)
move the js version note into js tab
This commit is contained in:
1 parent
40441af6f1
commit
9da234ff22
1 file changed
+6
-6
@@ -388,12 +388,6 @@ Use this to guarantee that the server has received the message before resolving
|
||||
|
||||
### Send messages using REST calls
|
||||
|
||||
<Admonition type="note">
|
||||
|
||||
This is currently available only in the Supabase JavaScript client version 2.37.0 and later.
|
||||
|
||||
</Admonition>
|
||||
|
||||
You can also send a Broadcast message by making an HTTP request to Realtime servers. This is useful when you want to send messages from your server or client without having to first establish a WebSocket connection.
|
||||
|
||||
<Tabs
|
||||
@@ -404,6 +398,12 @@ You can also send a Broadcast message by making an HTTP request to Realtime serv
|
||||
queryGroup="language"
|
||||
>
|
||||
<TabPanel id="js" label="JavaScript">
|
||||
<Admonition type="note">
|
||||
|
||||
This is currently available only in the Supabase JavaScript client version 2.37.0 and later.
|
||||
|
||||
</Admonition>
|
||||
|
||||
```js
|
||||
const channel = client.channel('test-channel')
|
||||
|
||||
|
||||
Reference in new issue
Block a user