OpenSwoole\Core\Psr\Response->withAddedHeader

Latest version: pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.1

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