Skip to content

Commit 96e2f35

Browse files
committed
Add streaming
The WP HTTP API does not support direct streaming of any kind. But for responses, it supports streaming to a file. This client can now return a stream to that file.
1 parent b21994f commit 96e2f35

File tree

6 files changed

+329
-57
lines changed

6 files changed

+329
-57
lines changed

.idea/http-client.iml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"johnpbloch/wordpress-core": "6.3",
2525
"php-stubs/wordpress-stubs": "6.3",
2626
"nyholm/psr7": "^1.7",
27-
"brain/monkey": "^2.6.1"
27+
"brain/monkey": "^2.6.1",
28+
"mikey179/vfsstream": "^1.6.11"
2829
},
2930
"suggest": {
3031
"nyholm/psr7": "A slim and efficient PSR-7 and PSR-17 implementation"

composer.lock

Lines changed: 81 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)