URLEncoding_Destination - SwiftDocOrg/Alamofire GitHub Wiki
URLEncoding.Destination
Defines whether the url-encoded query string is applied to the existing query string or HTTP body of the resulting URL request.
public enum Destination
Enumeration Cases
methodDependent
Applies encoded query string result to existing query string for GET, HEAD and DELETE requests and
sets as the HTTP body for requests with any other HTTP method.
case methodDependent
queryString
Sets or appends encoded query string result to existing query string.
case queryString
httpBody
Sets encoded query string result as the HTTP body of the URL request.
case httpBody