URLEncoding

public struct URLEncoding: Encoding

Definition for URL encoded requests

  • Default URLEncoding for Task

    Declaration

    Swift

    public static var `default`: URLEncoding
  • Add parameters as query params

    Declaration

    Swift

    public func encode(request: URLRequest, with parameters: Parameters) -> URLRequest