Enumeration
HTTPHeader
public enum HTTPHeader
An HTTP header.
This is a collection of some commonly used headers
but any header can be created using .custom(name: String, value: String).
Relationships
Nested Types
HTTPHeader.ContentTypeValues for the
Content-TypeHTTPheader.
Enumeration Cases
contentType
case contentType(: ContentType)
Content-Type HTTP header.
contentLength
case contentLength(: Int)
Content-Length HTTP header.
custom
case custom(name: String, value: String)
Custom HTTP header name and value.
Properties
rawValue
var rawValue: (name: String, value: String)