interface ProxyContextInterface (View source)

Merges the outbound HTTP proxy, when one applies to the URL, into a set of PHP stream context options.

Methods

array
applyTo(array $options, string $url)

No description

Details

array applyTo(array $options, string $url)

No description

Parameters

array $options

Stream context options, typically with an 'http' entry

string $url

Return Value

array

The options with the proxy settings merged in, or unchanged