WebSockets
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.
🔗 在 Higress 中的应用
Higress perfectly supports WebSocket protocol long connection management and heartbeat detection, suitable for streaming output (SSE/WebSocket) and real-time chat in AI scenarios.
💡 示例
- 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
🔄 相关术语
❓ 常见问题
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.
Higress 如何支持 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.
深入了解 Higress
探索更多 Higress 的功能和最佳实践