PHP Conference Japan 2024

Swoole\Http\Response 類別

(PECL swoole >= 1.9.0)

簡介

類別概要

類別 Swoole\Http\Response {
/* 方法 */
公開 cookie(
    字串 $name,
    字串 $value = ?,
    字串 $expires = ?,
    字串 $path = ?,
    字串 $domain = ?,
    字串 $secure = ?,
    字串 $httponly = ?
): 字串
公開 __destruct():
公開 end(字串 $content = ?):
公開 gzip(字串 $compress_level = ?): ReturnType
公開 header(字串 $key, 字串 $value, 字串 $ucwords = ?):
公開 initHeader(): ReturnType
公開 rawcookie(
    字串 $name,
    字串 $value = ?,
    字串 $expires = ?,
    字串 $path = ?,
    字串 $domain = ?,
    字串 $secure = ?,
    字串 $httponly = ?
): ReturnType
公開 sendfile(字串 $filename, 整數 $offset = ?): ReturnType
公開 status(字串 $http_code): ReturnType
公開 write(字串 $content):
}

目錄

新增註記

使用者貢獻的註記

此頁面沒有使用者貢獻的註記。
To Top