Closed 8W9aG closed 3 years ago
What proxy endpoints do you plan on using?
Localhost squid proxy endpoints
What is squid? Please be more specific.
You should just use SpotifyAPI.networkAdaptor
instead to proxy requests.
That works thanks. Would you be amenable to a change where I allow the defaultNetworkAdaptor
in URLSessionWrappers.swift
to be accessible from outside? At the moment I simply copy the combine code out of that and use that in my custom adapter, seems wasteful though.
I'll accept that change. Open a new pull request.
Change the
apiBase
to avar
instead of alet
in order to allow the consumer of the API to change the endpoint to a proxy endpoint.