OpenSwoole\Core\Psr\Response->withHeader

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

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