Solar_Http_Request_Adapter_Stream::setContentType()

public Solar_Http_Request_Adapter Solar_Http_Request_Adapter_Stream::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.



Local