ContentType
public enum ContentType : String, CustomStringConvertible
Enum representing content types for HTTP requests and responses supported within EPI Networking.
-
The HAL+JSON content type.
Declaration
Swift
case halJSON = "application/hal+json"
-
The JSON content type.
Declaration
Swift
case JSON = "application/json"
-
A textual representation of the content type.
Declaration
Swift
public var description: String { get }