|
The Swoole\Http\Response classIntroduction
Class synopsisSwoole\Http\Response
class Swoole\Http\Response
{
/* Methods */
public string cookie(
string $name ,string $value = ?,string $expires = ?,string $path = ?,string $domain = ?,string $secure = ?,string $httponly = ?) public void __destruct()
public void end(string
$content = ?)public ReturnType gzip(string
$compress_level = ?)public void header(string
$key , string $value , string $ucwords = ?)public ReturnType initHeader()
public ReturnType rawcookie(
string $name ,string $value = ?,string $expires = ?,string $path = ?,string $domain = ?,string $secure = ?,string $httponly = ?) public ReturnType sendfile(string
$filename , int $offset = ?)public ReturnType status(string
$http_code )public void write(string
}$content )
|