OpenSwoole\Core\Psr\Response->withAddedHeader

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

Declaration

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

Parameters

name

Name of the HTTP header.

value

Value of the HTTP header that you want to set.

Return

Description

Set HTTP header.

Last updated on September 23, 2022