Method
CurlResponse::withoutHeader
Return an instance without the specified header.
Description#
public CurlResponse::withoutHeader(
string $name
): MessageInterfaceHeader 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#
- $name string
- Case-insensitive header field name to remove.
Return values#
MessageInterface