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.

Level: intermediateTopic: Web APIs HTTP

WebSocket: an example

A trading dashboard opens wss://feed.example.com and receives price ticks continuously.

Related terms

More Web APIs HTTP terms

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.