Class HeaderParameter
This is a helper class for managing headers in REST API requests.
Class HeaderParameter
- Gedcomx\Rs\Client\Options\HeaderParameter implements Gedcomx\Rs\Client\Options\StateTransitionOption
Namespace: Gedcomx\Rs\Client\Options
Package: Gedcomx\Rs\Client\Options
Located at Rs/Client/Options/HeaderParameter.php
Package: Gedcomx\Rs\Client\Options
Located at Rs/Client/Options/HeaderParameter.php
Methods summary
public
|
#
__construct( boolean $replace, string $name, string $value )
Constructs a header parameter with the specified values. |
public
GuzzleHttp\Psr7\Request
|
|
public static
|
|
public static
|
Constants summary
string |
LANG
The accept language header |
#
"Accept-Language"
|
string |
LOCALE
The locale header |
|
string |
IF_NONE_MATCH
The if-none-match header |
#
"If-None-Match"
|
string |
IF_MODIFIED_SINCE
The if-modified-since header |
#
"If-Modified-Since"
|
string |
IF_MATCH
The if-match header |
#
"If-Match"
|
string |
IF_UNMODIFIED_SINCE
The if-unmodified-since header |
#
"If-Unmodified-Since"
|
string |
ETAG
The ETag (entity tag) header |
#
"ETag"
|
string |
LAST_MODIFIED
The last-modified header |
#
"Last-Modified"
|