PHP 7.2.0 Beta 3 Released


(PECL pecl_http >= 0.10.0)

HttpRequest::getContentTypeGet content type


public string HttpRequest::getContentType ( void )

Get the previously set content type.

Valori restituiti

Returns the previously set content type as string.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top