Skip to content

Move to new AsyncStreaming APIs#80

Merged
FranzBusch merged 11 commits into
mainfrom
update-async-streaming
May 20, 2026
Merged

Move to new AsyncStreaming APIs#80
FranzBusch merged 11 commits into
mainfrom
update-async-streaming

Conversation

@gjcairo

@gjcairo gjcairo commented May 19, 2026

Copy link
Copy Markdown
Collaborator

This PR updates the HTTPRequestConcludingAsyncReader and HTTPResponseConcludingAsyncWriter to use the new _AsyncStreaming module in swift-async-algorithms, which has already been adopted in the abstract APIs in swift-http-api-proposal.

Some tests had to be modified and some deleted because the behaviour/semantics of the reader have changed.

We're now also 6.4+ only, as it's required for this new module.

@gjcairo gjcairo added the 🆕 semver/minor Adds new public API. label May 19, 2026
@gjcairo gjcairo requested a review from FranzBusch May 19, 2026 15:04
Comment thread Package.swift Outdated
Comment thread Sources/NIOHTTPServer/HTTPRequestConcludingAsyncReader.swift
Comment thread Sources/NIOHTTPServer/HTTPRequestConcludingAsyncReader.swift Outdated
Comment thread Sources/NIOHTTPServer/HTTPResponseConcludingAsyncWriter.swift
@gjcairo gjcairo requested a review from aryan-25 May 19, 2026 15:12
@gjcairo gjcairo requested a review from FranzBusch May 20, 2026 10:24
Comment thread Sources/NIOHTTPServer/HTTPRequestConcludingAsyncReader.swift Outdated
@gjcairo gjcairo requested a review from FranzBusch May 20, 2026 13:26
@FranzBusch FranzBusch merged commit bf9696d into main May 20, 2026
17 of 23 checks passed
@FranzBusch FranzBusch deleted the update-async-streaming branch May 20, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants