(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{124:function(e,t,r){"use strict";r.d(t,"a",(function(){returnu})),r.d(t,"b",(function(){returnf}));varn=r(0),a=r.n(n);functiono(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functioni(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}functionl(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functionc(e,t){if(null==e)return{};varr,n,a=function(e,t){if(null==e)return{};varr,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);returna}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}returna}vars=a.a.createContext({}),p=function(e){vart=a.a.useContext(s),r=t;returne&&(r="function"==typeofe?e(t):l(l({},t),e)),r},u=function(e){vart=p(e.components);returna.a.createElement(s.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){vart=e.children;returna.a.createElement(a.a.Fragment,{},t)}},y=a.a.forwardRef((function(e,t){varr=e.components,n=e.mdxType,o=e.originalType,i=e.parentName,s=c(e,["components","mdxType","originalType","parentName"]),u=p(r),y=n,f=u["".concat(i,".").concat(y)]||u[y]||d[y]||o;returnr?a.a.createElement(f,l(l({ref:t},s),{},{components:r})):a.a.createElement(f,l({ref:t},s))}));functionf(e,t){varr=arguments,n=t&&t.mdxType;if("string"==typeofe||n){varo=r.length,i=newArray(o);i[0]=y;varl={};for(varcint)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeofe?e:n,i[1]=l;for(vars=2;s<o;s++)i[s]=r[s];returna.a.createElement.apply(null,i)}returna.a.createElement.apply(null,r)}y.displayName="MDXCreateElement"},75:function(e,t,r){"use strict";r.r(t),r.d(t,"frontMatter",(function(){returni})),r.d(t,"metadata",(function(){returnl})),r.d(t,"toc",(function(){returnc})),r.d(t,"default",(function(){returnp}));varn=r(3),a=r(7),o=(r(0),r(124)),i={id:"retry_handling",title:"Retry Handling"},l={unversionedId:"retry_handling",id:"retry_handling",isDocsHomePage:!1,title:"Retry Handling",description:"In Error Handling, we already found out that requests can fail. We provide a way to automatically retry requests via retry handlers. Note that, by default, no retries are performed.",source:"@site/docs/retry_handling.md",slug:"/retry_handling",permalink:"/SpotifyAPI-NET/docs/retry_handling",editUrl:"https://github.com/JohnnyCrazy/SpotifyAPI-NET/edit/master/SpotifyAPI.Docs/docs/retry_handling.md",version:"current",lastUpdatedBy:"Chris Sienkiewicz",lastUpdatedAt:1618499983,formattedLastUpdatedAt:"4/15/2021",sidebar:"docs",previous:{title:"Pagination",permalink:"/SpotifyAPI-NET/docs/pagination"},next:{title:"IPlayableItem",permalink:"/SpotifyAPI-NET/docs/iplayableitem"}},c=[{value:"SimpleRetryHandler",id:"simpleretryhandler",children:[]}],s={toc:c};functionp(e){vart=e.components,r=Object(a.a)(e,["components"]);returnObject(o.b)("wrapper",Object(n.a)({},s,r,{components:t,mdxType:"MDXLayout"}),Object(o.b)("p",null,"In ",Object(o.b)("a",{parentName:"p",href:"/SpotifyAPI-NET/docs/error_handling"},"Error Handling"),", we already found out that requests can fail. We provide a way to automatically retry requests via retry handlers. Note that, by default, no retries are performed."),Object(o.b)("pre",null,Object(o.b)("code",{parentName:"pre",className:"language-csharp"},"var config = SpotifyClientConfig\n .CreateDefault()\n .WithRetryHandler(new YourCustomRetryHandler())\n")),Object(o.b)("p",null,Object(o.b)("a",{parentName:"p",href