mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
19 lines
394 B
Markdown
19 lines
394 B
Markdown
---
|
|
id: proxy
|
|
title: Proxy Settings
|
|
sidebar_label: Proxy Settings
|
|
---
|
|
|
|
You can forward your proxy settings to the web api by using a field in the `SpotifyLocalAPIConfig`.
|
|
|
|
```csharp
|
|
ProxyConfig proxyConfig = new ProxyConfig()
|
|
{
|
|
Host = "127.0.0.1",
|
|
Port = 8080
|
|
// Additional values like Username and Password are available
|
|
};
|
|
|
|
SpotifyWebAPI api = new SpotifyWebAPI(proxyConfig);
|
|
```
|