Previous Page
setMethod()

Solar_Http_Request_Adapter_Stream
setProxy()

Next Page
setSslCafile()

setProxy()

public Solar_Http_Adapter setProxy ( string|Solar_Uri $spec )

Send all requests through this proxy server.

Inherited from Solar_Http_Request_Adapter.

Parameters

  • (string|Solar_Uri) $spec: The URI for the proxy server.

Returns

  • (Solar_Http_Adapter) This adapter object.

Description

Send all requests through this proxy server.