php8.5
Home/ Manual/ http / response/ Swoole\Http\Response::header

Swoole\Http\Response::header

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Set the HTTP response headers.

Description

Swoole\Http\Response::header(string $key, string $value, [string $ucwords]): void

Parameters

key
value
ucwords

Return Values

Source: reference/swoole/swoole/http/response/header.xml · from the official PHP manual (php/doc-en)