The Swoole\Http\Response class

(PECL swoole >= 1.9.0)

Giriş

Sınıf Sözdizimi

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

İçindekiler

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top