Solar_Http_Request_Adapter_Curl::setVersion()

public Solar_Http_Request_Adapter Solar_Http_Request_Adapter_Curl::setVersion ( string $version )

Sets the HTTP protocol version for the request (1.0 or 1.1).

Inherited from Solar_Http_Request_Adapter.

Parameters

  • (string) $version: The version number (1.0 or 1.1).

Returns

  • (Solar_Http_Request_Adapter) This adapter object.

Description

Sets the HTTP protocol version for the request (1.0 or 1.1).



Local