Skip to main content

Module builder

Module builder 

Source
Expand description

HTTP/2 frame and connection builders.

Provides builder types for constructing HTTP/2 frames and complete HTTP/2 connections (preface + frames). Follows the “Permissive Builder” pattern: allows constructing any frame combination including malformed ones for security testing.

Structs§

Http2Builder
Builder for a complete HTTP/2 connection sequence.
Http2FrameBuilder
Builder for a single HTTP/2 frame.

Functions§

build_frame
Build raw bytes for an HTTP/2 frame.
build_get_request
Build a complete HTTP/2 GET request as bytes.
build_response_200
Build a complete HTTP/2 200 OK response as bytes.