AI engineering glossary · Web APIs HTTP
What is webSocket?
WebSocket: A protocol that upgrades an HTTP connection into a persistent two-way channel, allowing client and server to send messages to each other at any time with low overhead. It suits live chat, games and dashboards.
WebSocket: an example
A trading dashboard opens wss://feed.example.com and receives price ticks continuously.
Related terms
More Web APIs HTTP terms
- 200 OK
- 201 Created
- 204 No Content
- 304 Not Modified
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
Where you learn it
WebSocket is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.