Solar_Http_Request_Adapter::setContentType()

public Solar_Http_Request_Adapter Solar_Http_Request_Adapter::setContentType ( string $val )

Sets the content-type for the body content.

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.



Local