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/json
Declaration
Swift
case application
-
The top-level type for audio, eg.
audio/mpeg
Declaration
Swift
case audio
-
The top-level type for font, eg.
font/ttf
Declaration
Swift
case font
-
The top-level type for image, eg.
image/jpeg
Declaration
Swift
case image
-
The top-level type for message, eg.
message/global
Declaration
Swift
case message
-
The top-level type for model, eg.
model/vrml
Declaration
Swift
case model
-
The top-level type for multipart, eg.
multipart/form-data
Declaration
Swift
case multipart
-
The top-level type for text, eg.
text/csv
Declaration
Swift
case text
-
The top-level type for video, eg.
video/mp4
Declaration
Swift
case video