PROMPTS & APIs • 109 / 397
Understand how applications send instructions to models and handle production API behavior.

WebSocket

A WebSocket is a long-lived bidirectional connection between client and server.

Think of it like

Think of WebSocket like a restaurant or service desk: the request must reach the right endpoint in the right format and the response must be handled safely.

Real life

Web applications use concepts such as WebSocket to communicate with external services.

SRE lens

Realtime voice or interactive AI applications may use WebSockets.

Remember thisA WebSocket is a long-lived bidirectional connection between client and server.
AIForSREJump to a concept
Search is optional. The main journey is simply ↓ Next.