Spotify.NET/SpotifyAPI.Docs/docs/web/proxy.md

19 lines
365 B
Markdown
Raw Normal View History

2019-08-16 23:40:04 +01:00
---
sidebar: false
---
# Proxy Settings
2018-03-25 18:56:59 +01:00
You can forward your proxy settings to the web api by using a field in the `SpotifyLocalAPIConfig`.
2019-08-16 23:40:04 +01:00
```csharp
ProxyConfig proxyConfig = new ProxyConfig()
2018-03-25 18:56:59 +01:00
{
Host = "127.0.0.1",
Port = 8080
// Additional values like Username and Password are available
};
SpotifyWebAPI api = new SpotifyWebAPI(proxyConfig);
```