Interface Guzzle\Http\Message\Header\HeaderFactoryInterface

Implemented byGuzzle\Http\Message\Header\HeaderFactory

Interface for creating headers

Public Methods

Hide inherited methods

MethodDescriptionDefined By
createHeader() Create a header from a header name and a single value Guzzle\Http\Message\Header\HeaderFactoryInterface

Method Details

createHeader() public abstract method

Create a header from a header name and a single value

public abstract Guzzle\Http\Message\Header\HeaderInterface createHeader ( $header, $value null )
$header string

Name of the header to create

$value string

Value to set on the header