# protocols

URL: /pounce/api/protocols/
Section: protocols
Description: Protocol handlers for HTTP/1.1, HTTP/2, and WebSocket.

Each protocol module translates between raw bytes on the wire and typed
protocol events. Protocol handlers are sans-I/O — they accept bytes and
return bytes, never touching sockets or asyncio directly.

Modules:
- _base: Event types and ProtocolHandler contract
- h1: HTTP/1.1 via h11 (phase 1)
- h2: HTTP/2 via h2 library (phase 3)
- ws: WebSocket via wsproto (phase 3)

---

> For a complete page index, fetch /pounce/llms.txt.

Open LLM text
(/pounce/api/protocols/index.txt)

Share with AI

Ask Claude
(https://claude.ai/new?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpounce%2Fapi%2Fprotocols%2Findex.txt)

Ask ChatGPT
(https://chatgpt.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpounce%2Fapi%2Fprotocols%2Findex.txt)

Ask Gemini
(https://gemini.google.com/app?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpounce%2Fapi%2Fprotocols%2Findex.txt)

Ask Copilot
(https://copilot.microsoft.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpounce%2Fapi%2Fprotocols%2Findex.txt)

Module

#
`protocols`

Protocol handlers for HTTP/1.1, HTTP/2, and WebSocket.

Each protocol module translates between raw bytes on the wire and typed
protocol events. Protocol handlers are sans-I/O — they accept bytes and
return bytes, never touching sockets or asyncio directly.

Modules:

- _base: Event types and ProtocolHandler contract

- h1: HTTP/1.1 via h11 (phase 1)

- h2: HTTP/2 via h2 library (phase 3)

- ws: WebSocket via wsproto (phase 3)
