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

    1. 'proxy' => [
    2. 'http' => 'tcp://localhost:8125', // Use this proxy with "http"
    3. 'no' => ['.mit.edu', 'foo.com'] // Don't use a proxy with these
    4. ]

    Note