TopLevelType
public enum TopLevelType : String
An enum of all recognized top-level media types (categories). See: https://www.iana.org/assignments/media-types/media-types.xhtml
-
The top-level type for application, eg.
application/jsonDeclaration
Swift
case application -
The top-level type for audio, eg.
audio/mpegDeclaration
Swift
case audio -
The top-level type for font, eg.
font/ttfDeclaration
Swift
case font -
The top-level type for image, eg.
image/jpegDeclaration
Swift
case image -
The top-level type for message, eg.
message/globalDeclaration
Swift
case message -
The top-level type for model, eg.
model/vrmlDeclaration
Swift
case model -
The top-level type for multipart, eg.
multipart/form-dataDeclaration
Swift
case multipart -
The top-level type for text, eg.
text/csvDeclaration
Swift
case text -
The top-level type for video, eg.
video/mp4Declaration
Swift
case video
View on GitHub
TopLevelType Enumeration Reference