ContentType
public enum ContentType : String
Enumeration for ContentType used in request/response
- plainText: “text/plain”
- json: “application/json”
- urlEncoded: “application/x-www-form-urlencoded”
-
Declaration
Swift
case plainText = "text/plain"
-
Declaration
Swift
case json = "application/json"
-
Declaration
Swift
case urlEncoded = "application/x-www-form-urlencoded"