Structure
HTTPHeaders.Name
Type used for the name of a HTTP header in the
HTTPHeaders storage.struct Name
Topics
Initializers
init(String)Create a HTTP header name with the provided String.init(from: any Decoder) throwsCreates a new instance by decoding from the given decoder.init(stringLiteral: String)ExpressibleByStringLiteralconformance.
Instance Properties
var description: StringSeeCustomStringConvertible.description
Instance Methods
func hash(into: inout Hasher)SeeHashable
Type Properties
static let aIM: HTTPHeaders.NameA-IM header.static let accept: HTTPHeaders.NameAccept header.static let acceptAdditions: HTTPHeaders.NameAccept-Additions header.static let acceptCharset: HTTPHeaders.NameAccept-Charset header.static let acceptDatetime: HTTPHeaders.NameAccept-Datetime header.static let acceptEncoding: HTTPHeaders.NameAccept-Encoding header.static let acceptFeatures: HTTPHeaders.NameAccept-Features header.static let acceptLanguage: HTTPHeaders.NameAccept-Language header.static let acceptPatch: HTTPHeaders.NameAccept-Patch header.static let acceptPost: HTTPHeaders.NameAccept-Post header.static let acceptRanges: HTTPHeaders.NameAccept-Ranges header.static let accessControl: HTTPHeaders.NameAccess-Control header.static let accessControlAllowCredentials: HTTPHeaders.NameAccess-Control-Allow-Credentials header.static let accessControlAllowHeaders: HTTPHeaders.NameAccess-Control-Allow-Headers header.static let accessControlAllowMethods: HTTPHeaders.NameAccess-Control-Allow-Methods header.static let accessControlAllowOrigin: HTTPHeaders.NameAccess-Control-Allow-Origin header.static let accessControlExpose: HTTPHeaders.NameAccess-Control-Expose-Headers header.static let accessControlMaxAge: HTTPHeaders.NameAccess-Control-Max-Age header.static let accessControlRequestHeaders: HTTPHeaders.NameAccess-Control-Request-Headers header.static let accessControlRequestMethod: HTTPHeaders.NameAccess-Control-Request-Method header.static let age: HTTPHeaders.NameAccept-Age header.static let allow: HTTPHeaders.NameAccept-Allow header.static let alpn: HTTPHeaders.NameALPN header.static let altSvc: HTTPHeaders.NameAlt-Svc header.static let altUsed: HTTPHeaders.NameAlt-Used header.static let alternates: HTTPHeaders.NameAlternates header.static let applyToRedirectRef: HTTPHeaders.NameApply-To-Redirect-Ref header.static let authenticationControl: HTTPHeaders.NameAuthentication-Control header.static let authenticationInfo: HTTPHeaders.NameAuthentication-Info header.static let authorization: HTTPHeaders.NameAuthorization header.static let cExt: HTTPHeaders.NameC-Ext header.static let cMan: HTTPHeaders.NameC-Man header.static let cOpt: HTTPHeaders.NameC-Opt header.static let cPEP: HTTPHeaders.NameC-PEP header.static let cPEPInfo: HTTPHeaders.NameC-PEP-Info header.static let cacheControl: HTTPHeaders.NameCache-Control header.static let calDAVTimezones: HTTPHeaders.NameCalDav-Timezones header.static let close: HTTPHeaders.NameClose header.static let compliance: HTTPHeaders.NameCompliance header.static let connection: HTTPHeaders.NameConnection header.static let contentBase: HTTPHeaders.NameContent-Base header.static let contentDisposition: HTTPHeaders.NameContent-Disposition header.static let contentEncoding: HTTPHeaders.NameContent-Encoding header.static let contentID: HTTPHeaders.NameContent-ID header.static let contentLanguage: HTTPHeaders.NameContent-Language header.static let contentLength: HTTPHeaders.NameContent-Length header.static let contentLocation: HTTPHeaders.NameContent-Location header.static let contentMD5: HTTPHeaders.NameContent-MD5 header.static let contentRange: HTTPHeaders.NameContent-Range header.static let contentScriptType: HTTPHeaders.NameContent-Script-Type header.static let contentSecurityPolicy: HTTPHeaders.NameContent-Security-Policystatic let contentStyleType: HTTPHeaders.NameContent-Style-Type header.static let contentTransferEncoding: HTTPHeaders.NameContent-Transfer-Encoding header.static let contentType: HTTPHeaders.NameContent-Type header.static let contentVersion: HTTPHeaders.NameContent-Version header.static let cookie: HTTPHeaders.NameCookie header.static let cookie2: HTTPHeaders.NameCookie2 header.static let cost: HTTPHeaders.NameCost header.static let dasl: HTTPHeaders.NameDASL header.static let date: HTTPHeaders.NameDate header.static let dav: HTTPHeaders.NameDASV header.static let defaultStyle: HTTPHeaders.NameDefault-Style header.static let deltaBase: HTTPHeaders.NameDelta-Base header.static let depth: HTTPHeaders.NameDepth header.static let derivedFrom: HTTPHeaders.NameDerived-From header.static let destination: HTTPHeaders.NameDestination header.static let differentialID: HTTPHeaders.NameDifferential-ID header.static let digest: HTTPHeaders.NameDigest header.static let eTag: HTTPHeaders.NameETag header.static let ediintFeatures: HTTPHeaders.NameEDIINT-Features header.static let expect: HTTPHeaders.NameExpect header.static let expires: HTTPHeaders.NameExpires header.static let ext: HTTPHeaders.NameExt header.static let forwarded: HTTPHeaders.NameForwarded header.static let from: HTTPHeaders.NameFrom header.static let getProfile: HTTPHeaders.NameGetProfile header.static let hobareg: HTTPHeaders.NameHobareg header.static let host: HTTPHeaders.NameHost header.static let http2Settings: HTTPHeaders.NameHTTP2-Settings header.static let `if`: HTTPHeaders.NameIf header.static let ifMatch: HTTPHeaders.NameIf-Match header.static let ifModifiedSince: HTTPHeaders.NameIf-Modified-Since header.static let ifNoneMatch: HTTPHeaders.NameIf-None-Match header.static let ifRange: HTTPHeaders.NameIf-Range header.static let ifScheduleTagMatch: HTTPHeaders.NameIf-Schedule-Tag-Match header.static let ifUnmodifiedSince: HTTPHeaders.NameIf-Unmodified-Since header.static let im: HTTPHeaders.NameIM header.static let keepAlive: HTTPHeaders.NameKeep-Alive header.static let label: HTTPHeaders.NameLabel header.static let lastModified: HTTPHeaders.NameLast-Modified header.static let link: HTTPHeaders.NameLink header.static let location: HTTPHeaders.NameLocation header.static let lockToken: HTTPHeaders.NameLock-Token header.static let man: HTTPHeaders.NameMan header.static let maxForwards: HTTPHeaders.NameMax-Forwards header.static let mementoDatetime: HTTPHeaders.NameMemento-Datetime header.static let messageID: HTTPHeaders.NameMessage-ID header.static let meter: HTTPHeaders.NameMeter header.static let methodCheck: HTTPHeaders.NameMethod-Check header.static let methodCheckExpires: HTTPHeaders.NameMethod-Check-Expires header.static let mimeVersion: HTTPHeaders.NameMIME-Version header.static let negotiate: HTTPHeaders.NameNegotiate header.static let nonCompliance: HTTPHeaders.NameNon-Compliance header.static let opt: HTTPHeaders.NameOpt header.static let optional: HTTPHeaders.NameOptional header.static let optionalWWWAuthenticate: HTTPHeaders.NameOptional-WWW-Authenticate header.static let orderingType: HTTPHeaders.NameOrdering-Type header.static let origin: HTTPHeaders.NameOrigin header.static let overwrite: HTTPHeaders.NameOverwrite header.static let p3p: HTTPHeaders.NameP3P header.static let pep: HTTPHeaders.NamePEP header.static let pepInfo: HTTPHeaders.NamePep-Info header.static let picsLabel: HTTPHeaders.NamePICS-Label header.static let position: HTTPHeaders.NamePosition header.static let pragma: HTTPHeaders.NamePragma header.static let prefer: HTTPHeaders.NamePrefer header.static let preferenceApplied: HTTPHeaders.NamePreference-Applied header.static let profileObject: HTTPHeaders.NameProfileObject header.static let `protocol`: HTTPHeaders.NameProtocol header.static let protocolInfo: HTTPHeaders.NameProtocol-Info header.static let protocolQuery: HTTPHeaders.NameProtocol-Query header.static let protocolRequest: HTTPHeaders.NameProtocol-Request header.static let proxyAuthenticate: HTTPHeaders.NameProxy-Authenticate header.static let proxyAuthenticationInfo: HTTPHeaders.NameProxy-Authentication-Info header.static let proxyAuthorization: HTTPHeaders.NameProxy-Authorization header.static let proxyFeatures: HTTPHeaders.NameProxy-Features header.static let proxyInstruction: HTTPHeaders.NameProxy-Instruction header.static let `public`: HTTPHeaders.NamePublic header.static let publicKeyPins: HTTPHeaders.NamePublic-Key-Pins header.static let publicKeyPinsReportOnly: HTTPHeaders.NamePublic-Key-Pins-Report-Only header.static let range: HTTPHeaders.NameRange header.static let redirectRef: HTTPHeaders.NameRedirect-Ref header.static let referer: HTTPHeaders.NameReferer header.static let refererRoot: HTTPHeaders.NameReferer-Root header.static let resolutionHint: HTTPHeaders.NameResolution-Hint header.static let resolverLocation: HTTPHeaders.NameResolver-Location header.static let retryAfter: HTTPHeaders.NameRetry-After header.static let safe: HTTPHeaders.NameSafe header.static let scheduleReply: HTTPHeaders.NameSchedule-Reply header.static let scheduleTag: HTTPHeaders.NameSchedule-Tag header.static let secWebSocketAccept: HTTPHeaders.NameSec-WebSocket-Accept header.static let secWebSocketExtensions: HTTPHeaders.NameSec-WebSocket-Extensions header.static let secWebSocketKey: HTTPHeaders.NameSec-WebSocket-Key header.static let secWebSocketProtocol: HTTPHeaders.NameSec-WebSocket-Protocol header.static let secWebSocketVersion: HTTPHeaders.NameSec-WebSocket-Version header.static let securityScheme: HTTPHeaders.NameSecurity-Scheme header.static let server: HTTPHeaders.NameServer header.static let setCookie: HTTPHeaders.NameSet-Cookie header.static let setCookie2: HTTPHeaders.NameSet-Cookie2 header.static let setProfile: HTTPHeaders.NameSetProfile header.static let slug: HTTPHeaders.NameSLUG header.static let soapAction: HTTPHeaders.NameSoapAction header.static let statusURI: HTTPHeaders.NameStatus-URI header.static let strictTransportSecurity: HTTPHeaders.NameStrict-Transport-Security header.static let subOK: HTTPHeaders.NameSubOK header.static let subst: HTTPHeaders.NameSubst header.static let surrogateCapability: HTTPHeaders.NameSurrogate-Capability header.static let surrogateControl: HTTPHeaders.NameSurrogate-Control header.static let tcn: HTTPHeaders.NameTCN header.static let te: HTTPHeaders.NameTE header.static let timeout: HTTPHeaders.NameTimeout header.static let title: HTTPHeaders.NameTitle header.static let topic: HTTPHeaders.NameTopic header.static let trailer: HTTPHeaders.NameTrailer header.static let transferEncoding: HTTPHeaders.NameTransfer-Encoding header.static let ttl: HTTPHeaders.NameTTL header.static let uaColor: HTTPHeaders.NameUA-Color header.static let uaMedia: HTTPHeaders.NameUA-Media header.static let uaPixels: HTTPHeaders.NameUA-Pixels header.static let uaResolution: HTTPHeaders.NameUA-Resolution header.static let uaWindowpixels: HTTPHeaders.NameUA-Windowpixels header.static let upgrade: HTTPHeaders.NameUpgrade header.static let urgency: HTTPHeaders.NameUrgency header.static let uri: HTTPHeaders.NameURI header.static let userAgent: HTTPHeaders.NameUser-Agent header.static let variantVary: HTTPHeaders.NameVariant-Vary header.static let vary: HTTPHeaders.NameVary header.static let version: HTTPHeaders.NameVersion header.static let via: HTTPHeaders.NameVia header.static let wantDigest: HTTPHeaders.NameWant-Digest header.static let warning: HTTPHeaders.NameWarning header.static let wwwAuthenticate: HTTPHeaders.NameWWW-Authenticate header.static let xContentTypeOptions: HTTPHeaders.NameX-Content-Type-Optionsstatic let xDeviceAccept: HTTPHeaders.NameX-Device-Accept header.static let xDeviceAcceptCharset: HTTPHeaders.NameX-Device-Accept-Charset header.static let xDeviceAcceptEncoding: HTTPHeaders.NameX-Device-Accept-Encoding header.static let xDeviceAcceptLanguage: HTTPHeaders.NameX-Device-Accept-Language header.static let xDeviceUserAgent: HTTPHeaders.NameX-Device-User-Agent header.static let xForwardedFor: HTTPHeaders.NameX-Forwarded-For header.static let xForwardedHost: HTTPHeaders.NameX-Forwarded-Host header.static let xForwardedProto: HTTPHeaders.NameX-Forwarded-Proto header.static let xFrameOptions: HTTPHeaders.NameX-Frame-Options header.static let xRequestId: HTTPHeaders.NameX-Request-Id header.static let xRequestedWith: HTTPHeaders.NameX-Requested-With header.static let xVaporResponseCompression: HTTPHeaders.Namestatic let xssProtection: HTTPHeaders.NameX-XSS-Protection header
Relationships
Conforms To
Swift.CustomStringConvertibleSwift.DecodableSwift.EncodableSwift.EquatableSwift.ExpressibleByExtendedGraphemeClusterLiteralSwift.ExpressibleByStringLiteralSwift.ExpressibleByUnicodeScalarLiteralSwift.HashableSwift.SendableSwift.SendableMetatype