h2

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package h2 provides HTTP/2 frame handling and stream management.

Subpackage protocol/h2/frame implements the wire-level frame codec (HEADERS, DATA, SETTINGS, WINDOW_UPDATE, GOAWAY, RST_STREAM, PUSH_PROMISE, PING, CONTINUATION, PRIORITY) and HPACK compression/decompression. Subpackage protocol/h2/stream implements per-stream lifecycle (state machine, flow-control windows, request/ response buffering, trailers).

Application code should not import these packages directly — interact with HTTP/2 through the celeris [Server] and [Context] types.

Directories

Path Synopsis
Package frame provides HTTP/2 frame type definitions, parsing, writing, and HPACK integration.
Package frame provides HTTP/2 frame type definitions, parsing, writing, and HPACK integration.
Package stream manages HTTP/2 stream lifecycle, state transitions, flow control, and frame processing.
Package stream manages HTTP/2 stream lifecycle, state transitions, flow control, and frame processing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL