PHP Manual
Function Reference
Other Basic Extensions
Swoole
Swoole\Http\Response
Swoole\Http\Response::cookie
Swoole\Http\Response::__destruct
Swoole\Http\Response::end
Swoole\Http\Response::gzip
Swoole\Http\Response::header
Swoole\Http\Response::initHeader
Swoole\Http\Response::rawcookie
Swoole\Http\Response::sendfile
Swoole\Http\Response::status
Swoole\Http\Response::write
Swoole\Http\Response::gzip
Swoole\Http\Response::initHeader
Swoole\Http\Response
PHP Manual
Swoole\Http\Response::header
Set the HTTP response headers.
Description
public
void
Swoole\Http\Response::header
(
string
$key
,
string
$value
,
string
$ucwords
= ?
)
Parameters
key
value
ucwords
Return Values