Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data HTTPHeader = HTTPHeader' {}
- newHTTPHeader :: HTTPHeader
- hTTPHeader_name :: Lens' HTTPHeader (Maybe Text)
- hTTPHeader_value :: Lens' HTTPHeader (Maybe Text)
Documentation
data HTTPHeader Source #
Part of the response from GetSampledRequests. This is a complex type
that appears as Headers
in the response syntax. HTTPHeader
contains
the names and values of all of the headers that appear in one of the web
requests.
See: newHTTPHeader
smart constructor.
Instances
newHTTPHeader :: HTTPHeader Source #
Create a value of HTTPHeader
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:HTTPHeader'
, hTTPHeader_name
- The name of the HTTP header.
$sel:value:HTTPHeader'
, hTTPHeader_value
- The value of the HTTP header.
hTTPHeader_name :: Lens' HTTPHeader (Maybe Text) Source #
The name of the HTTP header.
hTTPHeader_value :: Lens' HTTPHeader (Maybe Text) Source #
The value of the HTTP header.