\Guzzle\Http\Message\HeaderHeaderFactoryInterface

Interface for creating headers

Summary

Methods
Constants
createHeader()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

createHeader()

createHeader(string  $header, string  $value = null) : \Guzzle\Http\Message\Header\HeaderInterface

Create a header from a header name and a single value

Parameters

string $header

Name of the header to create

string $value

Value to set on the header

Returns

\Guzzle\Http\Message\Header\HeaderInterface