Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
php-symfony-contracts
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian PHP Team
PEAR
php-symfony-contracts
Commits
55231fd5
Commit
55231fd5
authored
7 months ago
by
Nicolas Grekas
Browse files
Options
Downloads
Patches
Plain Diff
[HttpClient] Various cleanups after recent changes
parent
fa0153b0
No related branches found
Branches containing commit
Tags
v2.5.4
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
HttpClient/HttpClientInterface.php
+3
-5
3 additions, 5 deletions
HttpClient/HttpClientInterface.php
with
3 additions
and
5 deletions
HttpClient/HttpClientInterface.php
+
3
−
5
View file @
55231fd5
...
...
@@ -48,11 +48,9 @@ interface HttpClientInterface
'buffer'
=>
true
,
// bool|resource|\Closure - whether the content of the response should be buffered or not,
// or a stream resource where the response body should be written,
// or a closure telling if/where the response should be buffered based on its headers
'on_progress'
=>
null
,
// callable(int $dlNow, int $dlSize, array $info, ?Closure $resolve = null) - throwing any
// exceptions MUST abort the request; it MUST be called on connection, on headers and on
// completion; it SHOULD be called on upload/download of data and at least 1/s;
// if passed, $resolve($host) / $resolve($host, $ip) can be called to read / populate
// the DNS cache respectively
'on_progress'
=>
null
,
// callable(int $dlNow, int $dlSize, array $info) - throwing any exceptions MUST abort the
// request; it MUST be called on connection, on headers and on completion; it SHOULD be
// called on upload/download of data and at least 1/s
'resolve'
=>
[],
// string[] - a map of host to IP address that SHOULD replace DNS resolution
'proxy'
=>
null
,
// string - by default, the proxy-related env vars handled by curl SHOULD be honored
'no_proxy'
=>
null
,
// string - a comma separated list of hosts that do not require a proxy to be reached
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment