apple / swift-nio-http2

HTTP/2 support for SwiftNIO
https://swiftpackageindex.com/apple/swift-nio-http2/main/documentation/niohttp2
Apache License 2.0
462 stars 82 forks source link

Add a variant of configureAsyncHTTP2Pipeline which takes a stream delegate #439

Closed glbrntt closed 4 months ago

glbrntt commented 4 months ago

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:

Result:

Users can configure an async http pipeline with a stream delegate.