mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: We recently added a synchronous view of the `ChannelPipline` so that callers can avoid allocating futures when they know they're on the right event loop. We also offer convenience APIs to configure the pipeline for particular use cases, like an HTTP/1 server but we don't have synchronous versions of these APIs yet. We should have parity between as synchronous and asyncronous APIs where feasible. Modifications: - Add synchronous helpers to configure HTTP1 client and server pipelines Result: Callers to synchronously configure HTTP1 client and server pipelines.