« Swoole\Http\Request::rawcontent
Swoole\Http\Response::cookie »

The Swoole\Http\Response class

(PECL swoole >= 1.9.0)

はじめに

クラス概要

class Swoole\Http\Response {
/* メソッド */
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
}

目次

関連キーワード:
Swoole   Http   Response   response   ReturnType   content   cookie   gzip   header   status   expires   path   domain   httponly   destruct   initHeader   rawcookie   sendfile   code   write   cookies   Send   Request   rawcontent   swoole
関連する関数・ページ:
swoole-http-response.rawcookie   swoole-http-response.cookie   swoole-http-response.header   swoole-http-response.end   swoole-http-response.status   swoole-http-response.destruct