WebSockets

WebSockets

📖 Definition

WebSockets is a protocol for full-duplex communication over a single TCP connection. It allows servers to actively push data to clients, enabling real-time interactive web applications.

🔗 How Higress Uses This

Higress perfectly supports WebSocket protocol long connection management and heartbeat detection, suitable for streaming output (SSE/WebSocket) and real-time chat in AI scenarios.

💡 Examples

  • 1 Real-time chat applications on web pages
  • 2 Real-time stock quote updates in financial markets
  • 3 Typewriter-style streaming response output from AI models

🔄 Related Terms

FAQ

What is WebSockets?
WebSockets is a protocol for full-duplex communication over a single TCP connection. It allows servers to actively push data to clients, enabling real-time interactive web applications.
How does Higress support WebSockets?
Higress perfectly supports WebSocket protocol long connection management and heartbeat detection, suitable for streaming output (SSE/WebSocket) and real-time chat in AI scenarios.

Learn More About Higress

Explore more Higress features and best practices