Directories
¶
| Path | Synopsis |
|---|---|
|
Package client provides a high-level HTTP/2 client API on top of the conn package.
|
Package client provides a high-level HTTP/2 client API on top of the conn package. |
|
Package conn implements the Phase B HTTP/2 connection layer on top of the Phase A frame and HPACK codecs.
|
Package conn implements the Phase B HTTP/2 connection layer on top of the Phase A frame and HPACK codecs. |
|
examples
|
|
|
http1
command
Command http1-example issues a single HTTP/1.1 request with the poseidon client.
|
Command http1-example issues a single HTTP/1.1 request with the poseidon client. |
|
http2
command
Command http2-example issues a single HTTP/2 GET with the poseidon client.
|
Command http2-example issues a single HTTP/2 GET with the poseidon client. |
|
http3
command
Command http3-example issues a single HTTP/3 GET over QUIC with the poseidon client, and shows how to opt into BBR congestion control.
|
Command http3-example issues a single HTTP/3 GET over QUIC with the poseidon client, and shows how to opt into BBR congestion control. |
|
loadgen
command
Command loadgen is a minimal HTTP/2 load generator built on the poseidon client.
|
Command loadgen is a minimal HTTP/2 load generator built on the poseidon client. |
|
Package frame implements the HTTP/2 framing layer (RFC 7540) without any networking.
|
Package frame implements the HTTP/2 framing layer (RFC 7540) without any networking. |
|
Package hpack implements HPACK (RFC 7541) header compression for HTTP/2.
|
Package hpack implements HPACK (RFC 7541) header compression for HTTP/2. |
|
Package http1 implements the HTTP/1.1 wire protocol (RFC 7230/7231) as a zero-dependency (no net/http) connection abstraction for the poseidon client layer.
|
Package http1 implements the HTTP/1.1 wire protocol (RFC 7230/7231) as a zero-dependency (no net/http) connection abstraction for the poseidon client layer. |
|
Package http3 implements HTTP/3 framing and request/response mapping over QUIC (RFC 9114).
|
Package http3 implements HTTP/3 framing and request/response mapping over QUIC (RFC 9114). |
|
internal
|
|
|
bytesx
Package bytesx provides private byte-level helpers shared across the wire codecs: big-endian fixed-width uint24/uint31 (RFC 7540, used by frame), the QUIC variable-length-integer codec (RFC 9000 §16, used by quic and http3), a sync.Pool-backed byte-buffer pool, and RFC 7540 §6.1 padding stripping.
|
Package bytesx provides private byte-level helpers shared across the wire codecs: big-endian fixed-width uint24/uint31 (RFC 7540, used by frame), the QUIC variable-length-integer codec (RFC 9000 §16, used by quic and http3), a sync.Pool-backed byte-buffer pool, and RFC 7540 §6.1 padding stripping. |
|
Package qpack implements QPACK field compression for HTTP/3 (RFC 9204).
|
Package qpack implements QPACK field compression for HTTP/3 (RFC 9204). |
|
Package quic implements a complete QUIC v1 client transport from scratch for the HTTP/3 client (design in docs/HTTP3_DESIGN.md).
|
Package quic implements a complete QUIC v1 client transport from scratch for the HTTP/3 client (design in docs/HTTP3_DESIGN.md). |
Click to show internal directories.
Click to hide internal directories.