mini\Http\Message\Response::withoutHeader() Method

public

Signature

public function withoutHeader($name): Psr\Http\Message\MessageInterface

Parameters

Name Type Default Description
$name mixed required Documentation missing

Returns

Psr\Http\Message\MessageInterface

Documentation

Return an instance without the specified header.

Header resolution MUST be done without case-sensitivity.

This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that removes the named header.

Source

src/Http/Message/MessageTrait.php:218-223