# `AgentDbWeb.WebSocket`
[🔗](https://github.com/manhvu/agent_db/blob/v0.1.0/lib/agent_db_web/websocket.ex#L1)

The WebSocket endpoint.

Authentication happens here, at connect, because a socket that is open is a
socket that has been let in: checking per call would mean an unauthenticated
connection could hold resources and probe which calls exist.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
