ZM\Http\Response
public function initHeader(): mixed
描述
作者很懒,什么也没有说
返回
public function header(array|string $value, null|array|string $ucwords, string $key): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| value |
array |
string |
| ucwords |
null |
array |
| key |
string |
|
返回
public function setHeader(array|string $value, null|array|string $ucwords, string $key): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| value |
array |
string |
| ucwords |
null |
array |
| key |
string |
|
返回
trailer
public function trailer(array|string $value, string $key): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| value |
array |
string |
| key |
string |
|
返回
ping
public function ping(): mixed
描述
作者很懒,什么也没有说
返回
write
public function write(string|Stringable $content): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| content |
string |
Stringable |
返回
end
public function end(null|string|Stringable $content): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| content |
null |
string |
返回
sendfile
public function sendfile(null|int|string $offset, null|int|string $length, string $filename): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| offset |
null |
int |
| length |
null |
int |
| filename |
string |
|
返回
redirect
public function redirect(string $location, int $http_code): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| location |
string |
|
| http_code |
int |
|
返回
detach
public function detach(): mixed
描述
作者很懒,什么也没有说
返回
create
public function create(mixed $fd): mixed
描述
作者很懒,什么也没有说
参数
返回
upgrade
public function upgrade(): mixed
描述
作者很懒,什么也没有说
返回
push
public function push(mixed $data, mixed $opcode, mixed $flags): mixed
描述
作者很懒,什么也没有说
参数
| 名称 |
类型 |
描述 |
| data |
mixed |
|
| opcode |
mixed |
|
| flags |
mixed |
|
返回
recv
public function recv(): mixed
描述
作者很懒,什么也没有说
返回
close
public function close(): mixed
描述
作者很懒,什么也没有说
返回