(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{163:function(e,t,r){"use strict";r.r(t),r.d(t,"frontMatter",(function(){returna})),r.d(t,"metadata",(function(){returnc})),r.d(t,"rightToc",(function(){returnp})),r.d(t,"default",(function(){returns}));varn=r(2),o=r(9),i=(r(0),r(187)),a={id:"proxy",title:"Proxy Settings",sidebar_label:"Proxy Settings"},c={id:"version-5.1.1/web/proxy",title:"Proxy Settings",description:"You can forward your proxy settings to the web api by using a field in the SpotifyLocalAPIConfig.",source:"@site/versioned_docs/version-5.1.1/web/proxy.md",permalink:"/SpotifyAPI-NET/docs/web/proxy",editUrl:"https://github.com/JohnnyCrazy/SpotifyAPI-NET/edit/master/SpotifyAPI.Docs/versioned_docs/version-5.1.1/web/proxy.md",version:"5.1.1",lastUpdatedBy:"Jonas Dellinger",lastUpdatedAt:1597925433,sidebar_label:"Proxy Settings",sidebar:"version-5.1.1/someSidebar",previous:{title:"Profiles",permalink:"/SpotifyAPI-NET/docs/web/profiles"},next:{title:"Search",permalink:"/SpotifyAPI-NET/docs/web/search"}},p=[],l={rightToc:p};functions(e){vart=e.components,r=Object(o.a)(e,["components"]);returnObject(i.b)("wrapper",Object(n.a)({},l,r,{components:t,mdxType:"MDXLayout"}),Object(i.b)("p",null,"You can forward your proxy settings to the web api by using a field in the ",Object(i.b)("inlineCode",{parentName:"p"},"SpotifyLocalAPIConfig"),"."),Object(i.b)("pre",null,Object(i.b)("code",Object(n.a)({parentName:"pre"},{className:"language-csharp"}),'ProxyConfig proxyConfig = new ProxyConfig()\n{\n Host = "127.0.0.1",\n Port = 8080\n // Additional values like Username and Password are available\n};\n\nSpotifyWebAPI api = new SpotifyWebAPI(proxyConfig);\n')))}s.isMDXComponent=!0},187:function(e,t,r){"use strict";r.d(t,"a",(function(){returnu})),r.d(t,"b",(function(){returnb}));varn=r(0),o=r.n(n);functioni(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functiona(e,t){varr=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}returnr}functionc(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functionp(e,t){if(null==e)return{};varr,n,o=function(e,t){if(null==e)return{};varr,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);returno}(e,t);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}returno}varl=o.a.createContext({}),s=function(e){vart=o.a.useContext(l),r=t;returne&&(r="function"==typeofe?e(t):c({},t,{},e)),r},u=function(e){vart=s(e.components);returno.a.createElement(l.Provider,{value:t},e.children)},f={inlineCode:"code",wrapper:function(e){vart=e.children;returno.a.createElement(o.a.Fragment,{},t)}},y=Object(n.forwardRef)((function(e,t){varr=e.components,n=e.mdxType,i=e.originalType,a=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),u=s(r),y=n,b=u["".concat(a,".").concat(y)]||u[y]||f[y]||i;returnr?o.a.createElement(b,c({ref:t},l,{components:r})):o.a.createElement(b,c({ref:t},l))}));functionb(e,t){varr=arguments,n=t&&t.mdxType;if("string"==typeofe||n){vari=r.length,a=newArray(i);a[0]=y;varc={};for(varpint)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeofe?e:n,a[1]=c;for(varl=2;l<i;l++)a[l]=r[l];returno.a.createElement.apply(null,a)}returno.a.createElement.apply(null,r)}y.displayName="MDXCreateElement"}}]);