Skip to content

Commit 2368b00

Browse files
Update src/content/docs/ai-gateway/configuration/websockets-api.mdx
Co-authored-by: Maddy <[email protected]>
1 parent 0c664cd commit 2368b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/ai-gateway/configuration/websockets-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ WebSockets are long-lived TCP connections that enable bi-directional, real-time
1717
- **Reduced Overhead**: Avoid overhead of repeated handshakes and TLS negotiations by maintaining a single, persistent connection.
1818
- **Provider Compatibility**: Works with all AI providers in AI Gateway. Even if your chosen provider does not support WebSockets, we handle it for you, managing the requests to your preferred AI provider.
1919

20-
## Setting up
20+
## Set up WebSockets API
2121

2222
1. Generate an AI Gateway token with appropriate AI Gateway Run and opt in to using an authenticated gateway.
2323
2. Modify your Universal Endpoint URL by replacing `https://` with `wss://` to initiate a WebSocket connection:

0 commit comments

Comments
 (0)