mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: `configureAsyncHTTP2Pipeline` doesn't allow a stream delegate to be specified. As the async pipeline uses the "inline" stream multiplexer there's no way to account for streams within the connection channel. Modifications: - Add a sync and async variants of `configureAsyncHTTP2Pipeline` which accepts an optional stream delegate - Rewrite the existing helpers in terms of the new one Result: Users can configure an async http pipeline with a stream delegate.