Overview of NIOHTTP2 core components
mainThe NIOHTTP2 library provides several categories of types to manage HTTP/2 connections:
- Core Handlers: Includes
NIOHTTP2HandlerandHTTP2StreamMultiplexerfor managing the connection and its streams. - Compatibility: Codecs like
HTTP2FramePayloadToHTTP1ClientCodecandHTTP2ToHTTP1ServerCodecallow for interoperability between HTTP/2 and HTTP/1.1. - Frames: Low-level types for handling
HTTP2Frame,HTTP2PingData,HTTP2Settings, andHTTP2ErrorCode. - Events: Inbound events such as
NIOHTTP2StreamCreatedEvent,NIOHTTP2WindowUpdatedEvent, andStreamClosedEvent. - Options: Stream-specific configuration via
HTTP2StreamChannelOptions.