setStreamContext()
public méthode
Can accept either a pre-existing stream context resource, or an array
of stream options, similar to the options array passed to the
stream_context_create() PHP function. In such case a new stream context
will be created using the passed options.
public setStreamContext ( mixed $context ) : Zend_Http_Client_Adapter_Socket |
$context |
mixed |
Stream context or array of context options |
Résultat |
Zend_Http_Client_Adapter_Socket |
|