Destination
public enum Destination
Defines where the URL-encoded string should be set for each URLRequest
.
-
Applies the encoded query string to any existing query string for
.get
,.head
, and.delete
request. Sets it to thehttpBody
for all other methods.Declaration
Swift
case methodDependent
-
Applies the encoded query string to any existing query string from the
URLRequest
.Declaration
Swift
case queryString
-
Applies the encoded query string to the
httpBody
of theURLRequest
.Declaration
Swift
case httpBody