Skip to content

feat(ffi): add hyper_request_on_informational#2594

Merged
seanmonstar merged 1 commit into
masterfrom
client-informational
Jul 12, 2021
Merged

feat(ffi): add hyper_request_on_informational#2594
seanmonstar merged 1 commit into
masterfrom
client-informational

Conversation

@seanmonstar

Copy link
Copy Markdown
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

1 participant