CacheControlType
enum CacheControlType : ExpressibleByStringLiteral, CustomStringConvertible, Equatable, Hashable
Available cache control types
-
No cache
Declaration
Swift
case noCache -
No store
Declaration
Swift
case noStore -
No transform
Declaration
Swift
case noTransform -
Only if cached
Declaration
Swift
case onlyIfCached -
Maximum age
Declaration
Swift
case maxAge(seconds: Int) -
Maximum stale
Declaration
Swift
case maxStale(seconds: Int?) -
Minimum Fresh
Declaration
Swift
case minFresh(seconds: Int) -
Custcom cache control
Declaration
Swift
case custom(_: String)
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public typealias StringLiteralType = String -
Declaration
Swift
public init(stringLiteral value: String)
-
Declaration
Swift
public static func == (lhs: RequestHeaders.Value.CacheControlType, rhs: RequestHeaders.Value.CacheControlType) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
View on GitHub
Install in Dash
CacheControlType Enumeration Reference