TopLevelType
public struct TopLevelType : Hashable, RawRepresentable, CustomStringConvertible
A top level media type, e.g., application
, text
, audio
etc.
-
Declaration
Swift
public let rawValue: CaseInsensitiveString
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public init(rawValue: CaseInsensitiveString)
-
Undocumented
Declaration
Swift
public init(_ rawValue: String)
-
Undocumented
Declaration
Swift
static let application: MediaType.TopLevelType
-
Undocumented
Declaration
Swift
static let audio: MediaType.TopLevelType
-
Undocumented
Declaration
Swift
static let font: MediaType.TopLevelType
-
Undocumented
Declaration
Swift
static let image: MediaType.TopLevelType
-
Undocumented
Declaration
Swift
static let message: MediaType.TopLevelType
-
Undocumented
Declaration
Swift
static let model: MediaType.TopLevelType
-
Undocumented
Declaration
Swift
static let multipart: MediaType.TopLevelType
-
Undocumented
Declaration
Swift
static let text: MediaType.TopLevelType
-
Undocumented
Declaration
Swift
static let video: MediaType.TopLevelType