Skip to content

Commit 46a6792

Browse files
authored
Update websockets-api.mdx (#18762)
capitalize "w" and "s" in WebSockets always
1 parent f3d6899 commit 46a6792

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Websockets API
2+
title: WebSockets API
33
pcx_content_type: configuration
44
sidebar:
55
badge:
@@ -8,7 +8,7 @@ sidebar:
88

99
The AI Gateway WebSockets API provides a single persistent connection, enabling continuous communication. By using WebSockets, you can establish a single connection for multiple AI requests, eliminating the need for repeated handshakes and TLS negotiations, which enhances performance and reduces latency. This API supports all AI providers connected to AI Gateway, including those that do not natively support WebSockets.
1010

11-
## When to use webSockets?
11+
## When to use WebSockets?
1212

1313
WebSockets are long-lived TCP connections that enable bi-directional, real-time communication between client and server. Unlike HTTP connections, which require repeated handshakes for each request, WebSockets maintain the connection, supporting continuous data exchange with reduced overhead. WebSockets are ideal for applications needing low-latency, real-time data, such as voice assistants.
1414

0 commit comments

Comments
 (0)