The HttpRequest
PHP Manual

HttpRequest::getContentType

(PECL pecl_http >= 0.10.0)

HttpRequest::getContentTypeGet content type

Описание

public string HttpRequest::getContentType ( void )

Get the previously set content type.

Возвращаемые значения

Returns the previously set content type as string.


The HttpRequest
PHP Manual