Zend_Http_Client_Adapter_Socket::getStreamContext PHP Method

getStreamContext() public method

If no stream context is set, will create a default one.
public getStreamContext ( ) : resource
return resource
    public function getStreamContext()
    {
        if (!$this->_context) {
            $this->_context = stream_context_create();
        }
        return $this->_context;
    }