Forum und email

HttpRequest::getContentType

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::getContentType — Get content type

說明

public string HttpRequest::getContentType ( void )

Get the previously set content type.

Return值

Returns the previously set content type as string.