Previous Page
setUserAgent()

Solar_Http_Request_Adapter
setVersion()

Next Class
Solar_Http_Request_Adapter_Curl

setVersion()

public Solar_Http_Request_Adapter setVersion ( string $version )

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

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).