Interface HeaderFactoryInterface
Interface for creating headers
Direct known implementers
Namespace: Guzzle\Http\Message\Header
Located at Guzzle/Http/Message/Header/HeaderFactoryInterface.php
Located at Guzzle/Http/Message/Header/HeaderFactoryInterface.php
Methods summary
-
public
createHeader ( string $header, string $value = null )
Create a header from a header name and a single value
Methods detail
#
public
Guzzle\Http\Message\Header\HeaderInterface
createHeader( string $header, string $value = null )
Create a header from a header name and a single value
Parameters
- $header
string
$header Name of the header to create- $value
string
$value Value to set on the header