Opened 10 years ago
Last modified 12 months ago
#37459 new enhancement
Add additional layer in WP_Http to support parallel requests without requiring use of Requests directly
| Reported by: | ocean90 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | HTTP API | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Description
Follow-up to #33055.
Requests supports parallel requests but we should provide this support through the existing WP_Http API.
Some initial work was done by @wonderboymusic in ticket:33055:33055.diff.
Change History (4)
This ticket was mentioned in PR #3022 on WordPress/wordpress-develop by srtfisher.
4 years ago
#2
- Keywords has-patch has-unit-tests added; needs-patch removed
#3
@
4 years ago
Hey @ocean90 and @wonderboymusic,
I've pushed up a patch/pull request that will enable concurrent HTTP requests with wp_remote_*() function calls or through WP_Http directly. Quite excited to use this, let me know what modifications are needed if any.
#4
@
12 months ago
Calling out that we've been using this for the past 3 years via https://github.com/alleyinteractive/wp-concurrent-remote-requests and it's been wonderful! I wish others could have concurrent requests like I have been.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/37459