Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #33743 [HttpClient] Async HTTPlug client (Nyholm)
This PR was squashed before being merged into the 4.4 branch (closes #33743). Discussion ---------- [HttpClient] Async HTTPlug client | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix #33710, Fix #32142 | License | MIT | Doc PR | symfony/symfony-docs#12389 This PR removes `HttplugClient`'s dependency on `Psr18Client`. It will also add an `HttplugPromise` to make sure we sure we respect the Httplug's `HttpAsyncClient` interface. It implements `HttpAsyncClient::sendAsyncRequest()` and provides two extensions: - `HttplugPromise::cancel()` allows cancelling a promise (and the underlying response) - `HttplugClient::wait()` allows to tick the promise pool, with configurable timeouts. Commits ------- 4fd593f [HttpClient] Async HTTPlug client
- Loading branch information
Showing
6 changed files
with
357 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.