Skip to content

Glossary: Real-Time Apps with WebSockets

Origin

Also written: Origin header

The scheme, host and port a page came from, such as `http://localhost:5173`. Browsers send it with WebSocket connections, so the server can refuse pages from other sites.

Where the book teaches it

Related terms

CORSCross-site WebSocket hijacking