Solar_Http_Request_Adapter_Curl::setContentType()
public
Solar_Http_Request_Adapter
Solar_Http_Request_Adapter_Curl::setContentType
( string $val
)
Sets the content-type for the body content.
Inherited from Solar_Http_Request_Adapter.
Parameters
(string)
$val
: The content-type, e.g. "text/plain".
Returns
(Solar_Http_Request_Adapter) This adapter object.
Description
Sets the content-type for the body content.