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