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.

  • 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.

    Declaration

    Swift

    case methodDependent
  • Sets or appends encoded query string result to existing query string.

    Declaration

    Swift

    case queryString
  • Sets encoded query string result as the HTTP body of the URL request.

    Declaration

    Swift

    case httpBody