OpenSwoole\Core\Psr\Response->withHeader

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Declaration

<?php OpenSwoole\Core\Psr\Response->withHeader(string $name, string $value)

Parameters

name

Name of the HTTP header.

value

Value of the HTTP header.

Return

Description

Set HTTP header.

Last updated on September 23, 2022