Clase HttpResponse
PHP Manual

HttpResponse::getContentType

(PECL pecl_http >= 0.10.0)

HttpResponse::getContentTypeGet content type

Descripción

static string HttpResponse::getContentType ( void )

Get current Content-Type header setting.

Valores devueltos

Returns the currently set content type as string.

Ver tambiƩn


Clase HttpResponse
PHP Manual