URL

extension URL
  • PowerUpSwift: Adds query parameters and set the value to itself. Thus, mutating.

    Declaration

    Swift

    public mutating func addQueryParams(_ queryParams: [String : Any])
  • PowerUpSwift: Returns the URL object with the appended query parameters.

    Declaration

    Swift

    public func addingQueryParams(_ queryParams: [String : Any]) -> URL