Spotify.NET/SpotifyAPI.Docs/versioned_docs/version-5.1.1/web/proxy.md
Jonas Dellinger fee995f984 Started docs
2020-05-13 18:27:16 +02:00

427 B

sidebar
false

id: Proxy Settings title: Proxy Settings sidebar_label: 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);