mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: As part of #214 we need to introduce new pipeline helpers to configure the channel pipeline with the new handlers. This PR adds those helpers and deprecates the old paths. Modifications: - Add pipeline helpers with the new streamID-less initializer - Switch old pipeline helpers which provided codecs to use the new path and codecs - Duplicate SimpleClientServerTests and ConfiguringPipelineTests to add frame payload based counterparts - Deprecate older helpers and multiplexer init, delete tests which don't hit deprecated paths (note: these still exist in the payload based counterparts) - Update Bench1Conn10kRequests to be payload based Result: - More 'FramePayload' based Tests - Paths for creating an 'HTTP2Frame' based stream via 'HTTP2StreamMultiplexer' are now deprecated