WordPress\AiClientDependencies\Psr\Http\Message

MessageInterface::withoutHeaderpublicWP 1.0

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.

Method of the class: MessageInterface{}

No Hooks.

Returns

static.

Usage

$MessageInterface = new MessageInterface();
$MessageInterface->withoutHeader( $name ): MessageInterface;
$name(string) (required)
Case-insensitive header field name to remove.

MessageInterface::withoutHeader() code WP 7.0

public function withoutHeader(string $name): MessageInterface;