mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-06 16:25:36 +08:00
4.1 KiB
4.1 KiB
ZM\Http\Response
initHeader
public function initHeader(): mixed
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| mixed |
header
public function header(array|string $value, null|array|string $ucwords, string $key): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| value | array | string |
| ucwords | null | array |
| key | string |
返回
| 类型 | 描述 |
|---|---|
| mixed |
setHeader
public function setHeader(array|string $value, null|array|string $ucwords, string $key): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| value | array | string |
| ucwords | null | array |
| key | string |
返回
| 类型 | 描述 |
|---|---|
| mixed |
trailer
public function trailer(array|string $value, string $key): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| value | array | string |
| key | string |
返回
| 类型 | 描述 |
|---|---|
| mixed |
ping
public function ping(): mixed
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| mixed |
write
public function write(string|Stringable $content): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| content | string | Stringable |
返回
| 类型 | 描述 |
|---|---|
| mixed |
end
public function end(null|string|Stringable $content): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| content | null | string |
返回
| 类型 | 描述 |
|---|---|
| mixed |
sendfile
public function sendfile(null|int|string $offset, null|int|string $length, string $filename): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| offset | null | int |
| length | null | int |
| filename | string |
返回
| 类型 | 描述 |
|---|---|
| mixed |
redirect
public function redirect(string $location, int $http_code): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| location | string | |
| http_code | int |
返回
| 类型 | 描述 |
|---|---|
| mixed |
detach
public function detach(): mixed
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| mixed |
create
public function create(mixed $fd): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| fd | mixed |
返回
| 类型 | 描述 |
|---|---|
| mixed |
upgrade
public function upgrade(): mixed
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| mixed |
push
public function push(mixed $data, mixed $opcode, mixed $flags): mixed
描述
作者很懒,什么也没有说
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | mixed | |
| opcode | mixed | |
| flags | mixed |
返回
| 类型 | 描述 |
|---|---|
| mixed |
recv
public function recv(): mixed
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| mixed |
close
public function close(): mixed
描述
作者很懒,什么也没有说
返回
| 类型 | 描述 |
|---|---|
| mixed |