Spotify.NET/SpotifyAPI.Docs/docs/web/proxy.md
2019-08-17 00:40:16 +02:00

365 B

sidebar
false

Proxy Settings

You can forward your proxy settings to the web api by using a field in the SpotifyLocalAPIConfig.

ProxyConfig proxyConfig = new ProxyConfig()
{
    Host = "127.0.0.1",
    Port = 8080
    // Additional values like Username and Password are available
};

SpotifyWebAPI api = new SpotifyWebAPI(proxyConfig);