- Summary
Pass a string to specify an HTTP proxy, or an array to specifydifferent proxies for different protocols.- Types
-
- string
- array
- Default
None- Constant
Pass a string to specify a proxy for all protocols.
Note
- 'proxy' => [
- 'http' => 'tcp://localhost:8125', // Use this proxy with "http"
- 'no' => ['.mit.edu', 'foo.com'] // Don't use a proxy with these
- ]
Note