HttpResponse::getContentDisposition
HttpResponse::getData
The HttpResponse
PHP Manual

# HttpResponse::getContentType

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::getContentType — Get content type

### Descrição

static string HttpResponse::getContentType ( void )

Get current Content-Type header setting.

### Valor Retornado

Returns the currently set content type as string.

### Veja Também

- HttpResponse::getContentDisposition
- HttpResponse::setContentDisposition
- HttpResponse::setContentType
- HttpResponse::guessContentType

HttpResponse::getContentDisposition
HttpResponse::getData
The HttpResponse
PHP Manual