Property | Type | Description | |
---|---|---|---|
$HTTP_HEADERS | |||
$body | |||
$cookie | |||
$header | |||
$http_protocol | |||
$http_status | |||
$request |
Property | Type | Description | |
---|---|---|---|
$gzip_level | |||
$protocol |
Method | Description | |
---|---|---|
__construct ( $protocol, $request ) | ||
addHeaders ( array $header ) | 添加http header | |
end ( $content ) | ||
getHeader ( $fastcgi = false ) | ||
gzip ( $level ) | ||
header ( $key, $value ) | 设置Http头信� | |
noCache ( ) | ||
rawcookie ( $name, null $value = null, null $expire = null, string $path = '/', null $domain = null, null $secure = null, null $httponly = null ) | 设置COOKIE | |
sendfile ( $file ) | ||
status ( $code ) | 设置Http状� |