PHP 7.2.0 Release Candidate 2 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