Destination
public enum Destination
Defines whether the url-encoded query string is applied to the existing query string or HTTP body of the resulting URL request.
- methodDependent: Applies encoded query string result to existing query string for
GET
,HEAD
andDELETE
requests and sets as the HTTP body for requests with any other HTTP method. - queryString: Sets or appends encoded query string result to existing query string.
- httpBody: Sets encoded query string result as the HTTP body of the URL request.
-
Declaration
Swift
case methodDependent
-
Declaration
Swift
case queryString
-
Declaration
Swift
case httpBody