apple / apple/swift-http-api-proposal

A second abstract "buffered" HTTP client protocol

Open
#65 25 comments 0 reactions 0 assignees View on GitHub
http-client
Dominant language
Swift
Stars
66
Forks
21
Avg merge
7h 39m
Merged PRs (30d)
2

Description

Let's discuss having a second protocol for fully buffered requests and responses, likely without trailer support, that many existing clients could conform to today, even without supporting streaming and trailers.

Of course, a concrete client could then implement both the full streaming client protocol and this buffered one, and perform optimizations for the buffered code path.

This is to ensure that clients incapable of implementing the base behavior of the streaming client still have a way to participate, instead of implementing a non-compliant "streaming" client that doesn't deliver trailers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.