ContentType
enum ContentType : String, CustomStringConvertible, Equatable, Hashable
Available content types
-
JSON content
Declaration
Swift
case json = "application/json"
-
XML content
Declaration
Swift
case xml = "application/xml"
-
Form urlencoded content
Declaration
Swift
case urlencoded = "application/x-www-form-urlencoded; charset=utf-8"
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public static func == (lhs: RequestHeaders.Value.ContentType, rhs: RequestHeaders.Value.ContentType) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)