Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ffi): add hyper_request_on_informational #2594

Merged
merged 1 commit into from
Jul 12, 2021

Conversation

seanmonstar
Copy link
Member

This defines an extension type used in requests for the client that is
used to setup a callback for receipt of informational (1xx) responses.
The type isn't currently public, and is only usable in the C API.

cc #2565

@seanmonstar seanmonstar force-pushed the client-informational branch from c8265e3 to a147d10 Compare July 8, 2021 18:38
This defines an extension type used in requests for the client that is
used to setup a callback for receipt of informational (1xx) responses.
The type isn't currently public, and is only usable in the C API.
@seanmonstar seanmonstar force-pushed the client-informational branch from a147d10 to b861ffe Compare July 8, 2021 18:45
@seanmonstar seanmonstar merged commit 25d18c0 into master Jul 12, 2021
@seanmonstar seanmonstar deleted the client-informational branch July 12, 2021 22:43
seanmonstar added a commit that referenced this pull request Jan 27, 2025
This new function allows attaching a callback to a request, such that
when it is sent through a hyper client connection, and any 1xx
informational responses are received, they are passed to the callback.

This takes the unstable client informational feature (introduced in
#2594, tracking issue in #2565), and promotes it to a stable API.

Closes #2565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant