PHP 7.0.0 RC 8 Released


(PECL pecl_http >= 0.10.0)

HttpRequest::getContentTypeGet content type


public string HttpRequest::getContentType ( void )

Get the previously set content type.

Return Values

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