function MessageInterface::withoutHeader
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.
Parameters
string $name Case-insensitive header field name to remove.:
Return value
static
File
-
vendor/
psr/ http-message/ src/ MessageInterface.php, line 164
Class
- MessageInterface
- HTTP messages consist of requests from a client to a server and responses from a server to a client. This interface defines the methods common to each.
Namespace
Psr\Http\MessageCode
public function withoutHeader(string $name) : MessageInterface;