Solar_Http_Response::setVersion()

public Solar_Http_Response Solar_Http_Response::setVersion ( string $version )

Sets the HTTP version to '1.0' or '1.1'.

Parameters

  • (string) $version: The HTTP version to use for this response.

Returns

  • (Solar_Http_Response) This response object.

Description

Sets the HTTP version to '1.0' or '1.1'.



Local