Solar_Http_Request_Adapter_Stream::setUserAgent()

public Solar_Http_Request_Adapter Solar_Http_Request_Adapter_Stream::setUserAgent ( string $val )

Sets the User-Agent for the request.

Inherited from Solar_Http_Request_Adapter.

Parameters

  • (string) $val: The User-Agent value.

Returns

  • (Solar_Http_Request_Adapter) This adapter object.

Description

Sets the User-Agent for the request.



Local