ContentType
public enum ContentType
Content types specified in a Request object.
- none: The request does not contain any body content.
- formUrlEncoded: The request contains form URL encoded data.
- json: The request contains JSON data.
-
The request does not contain any body content.
Declaration
Swift
case none -
The request contains form URL encoded data.
Declaration
Swift
case formUrlEncoded -
The request contains JSON data.
Declaration
Swift
case json
View on GitHub
ContentType Enumeration Reference