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
Documentation
data HttpHeader Source #
The HTTP header.
See: newHttpHeader
smart constructor.
HttpHeader' | |
|
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:headerName:HttpHeader'
, httpHeader_headerName
- The header name.
$sel:headerValue:HttpHeader'
, httpHeader_headerValue
- The header value.
httpHeader_headerName :: Lens' HttpHeader (Maybe Text) Source #
The header name.
httpHeader_headerValue :: Lens' HttpHeader (Maybe Text) Source #
The header value.