The Swoole\Http\Response class
(PECL swoole >= 1.9.0)
はじめに
クラス概要
class Swoole\Http\Response
{
/* メソッド */
public cookie(
string
string
string
string
string
string
string
): string
}string
$name
,string
$value
= ?,string
$expires
= ?,string
$path
= ?,string
$domain
= ?,string
$secure
= ?,string
$httponly
= ?): string
目次
- Swoole\Http\Response::cookie — Set the cookies of the HTTP response.
- Swoole\Http\Response::__destruct — Destruct the HTTP response.
- Swoole\Http\Response::end — Send data for the HTTP request and finish the response.
- Swoole\Http\Response::gzip — Enable the gzip of response content.
- Swoole\Http\Response::header — Set the HTTP response headers.
- Swoole\Http\Response::initHeader — Init the HTTP response header.
- Swoole\Http\Response::rawcookie — Set the raw cookies to the HTTP response.
- Swoole\Http\Response::sendfile — Send file through the HTTP response.
- Swoole\Http\Response::status — Set the status code of the HTTP response.
- Swoole\Http\Response::write — Append HTTP body content to the HTTP response.
+add a note
User Contributed Notes
There are no user contributed notes for this page.
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google