HttpRequest::enableCookies
HttpRequest::getCookies
The HttpRequest
PHP Manual

# HttpRequest::getContentType

(PECL pecl_http >= 0.10.0)

HttpRequest::getContentType — Get content type

### Descripción

public string HttpRequest::getContentType ( void )

Get the previously set content type.

### Valores retornados

Returns the previously set content type as string.

HttpRequest::enableCookies
HttpRequest::getCookies
The HttpRequest
PHP Manual