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

# HttpResponse::getContentType

(PECL pecl_http >= 0.10.0)

HttpResponse::getContentType — Get content type

### Описание

static string HttpResponse::getContentType ( void )

Get current Content-Type header setting.

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

Returns the currently set content type as string.

### Смотрите также

- HttpResponse::getContentDisposition - Get content disposition
- HttpResponse::setContentDisposition - Set content disposition
- HttpResponse::setContentType - Set content type
- HttpResponse::guessContentType - Guess content type

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