\Guzzle\Http\Message\HeaderHeaderFactory

Default header factory implementation

Summary

Methods
Properties
Constants
createHeader()
No public properties found
No constants found
No protected methods found
$mapping
N/A
No private methods found
No private properties found
N/A

Properties

$mapping

$mapping : array

Type

array

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