HttpRequest
在线手册:中文  英文

HttpRequest::getContentType

(PECL pecl_http >= 0.10.0)

HttpRequest::getContentTypeGet content type

说明

public string HttpRequest::getContentType ( void )

Get the previously set content type.

返回值

Returns the previously set content type as string.


HttpRequest
在线手册:中文  英文
易百教程