HTTPHeader

public enum HTTPHeader : RequestStringConvertible, Equatable, Hashable

Extensions to work with HTTPHeader values within a collection of HTTPHeaders. Common HTTP headers.

  • Use when the header value you want is not in the list.

    Declaration

    Swift

    case custom(String)
  • Accept

    Declaration

    Swift

    case accept
  • Accept-Charset

    Declaration

    Swift

    case acceptCharset
  • Accept-Encoding

    Declaration

    Swift

    case acceptEncoding
  • Accept-Language

    Declaration

    Swift

    case acceptLanguage
  • Accept-Ranges

    Declaration

    Swift

    case acceptRanges
  • Access-Control-Allow-Origin

    Declaration

    Swift

    case accessControlAllowOrigin
  • age

    Age

    Declaration

    Swift

    case age
  • Allow

    Declaration

    Swift

    case allow
  • x-ms-version

    Declaration

    Swift

    case apiVersion
  • Authorization

    Declaration

    Swift

    case authorization
  • Cache-Control

    Declaration

    Swift

    case cacheControl
  • x-ms-client-request-id

    Declaration

    Swift

    case clientRequestId
  • Connection

    Declaration

    Swift

    case connection
  • Content-Disposition

    Declaration

    Swift

    case contentDisposition
  • Content-Encoding

    Declaration

    Swift

    case contentEncoding
  • Content-Language

    Declaration

    Swift

    case contentLanguage
  • Content-Length

    Declaration

    Swift

    case contentLength
  • Content-Location

    Declaration

    Swift

    case contentLocation
  • Content-MD5

    Declaration

    Swift

    case contentMD5
  • Content-Range

    Declaration

    Swift

    case contentRange
  • Content-Type

    Declaration

    Swift

    case contentType
  • Date

    Declaration

    Swift

    case date
  • x-ms-date

    Declaration

    Swift

    case xmsDate
  • Etag

    Declaration

    Swift

    case etag
  • Expect

    Declaration

    Swift

    case expect
  • Expires

    Declaration

    Swift

    case expires
  • From

    Declaration

    Swift

    case from
  • Host

    Declaration

    Swift

    case host
  • If-Match

    Declaration

    Swift

    case ifMatch
  • If-Modified-Since

    Declaration

    Swift

    case ifModifiedSince
  • If-None-Match

    Declaration

    Swift

    case ifNoneMatch
  • If-Unmodified-Since

    Declaration

    Swift

    case ifUnmodifiedSince
  • Last-Modified

    Declaration

    Swift

    case lastModified
  • Location

    Declaration

    Swift

    case location
  • Pragma

    Declaration

    Swift

    case pragma
  • Range

    Declaration

    Swift

    case range
  • Referer

    Declaration

    Swift

    case referer
  • Request-Id

    Declaration

    Swift

    case requestId
  • Retry-After

    Declaration

    Swift

    case retryAfter
  • x-ms-return-client-request-id

    Declaration

    Swift

    case returnClientRequestId
  • Server

    Declaration

    Swift

    case server
  • Slug

    Declaration

    Swift

    case slug
  • traceparent

    Declaration

    Swift

    case traceparent
  • Trailer

    Declaration

    Swift

    case trailer
  • Transfer-Encoding

    Declaration

    Swift

    case transferEncoding
  • User-Agent

    Declaration

    Swift

    case userAgent
  • Vary

    Declaration

    Swift

    case vary
  • via

    Via

    Declaration

    Swift

    case via
  • Warning

    Declaration

    Swift

    case warning
  • WWW-Authenticate

    Declaration

    Swift

    case wwwAuthenticate
  • Undocumented

    Declaration

    Swift

    public var requestString: String { get }
  • Undocumented

    Declaration

    Swift

    public init(_ val: String)