mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 23:46:27 +00:00
67cb3e42f1
* SpotifyHttpStatusCode A small supplementary enum for Spotify specific codes. Only contains TooManyRequests currently, but more can be added. * TooManyRequests Retry Handling Will now parse and wait the Spotify recommended wait time. Also has the option to not consume a retry attempt on this type of error * TryGetTooManyRequests refactored to GetTooManyRequests To keep the library consistent * Removed SpotifyHttpStatusCode
14 lines
313 B
C#
14 lines
313 B
C#
using SpotifyAPI.Web.Enums;
|
|
using System.Net;
|
|
|
|
namespace SpotifyAPI.Web.Models
|
|
{
|
|
public class ResponseInfo
|
|
{
|
|
public WebHeaderCollection Headers { get; set; }
|
|
|
|
public HttpStatusCode StatusCode { get; set; }
|
|
|
|
public static readonly ResponseInfo Empty = new ResponseInfo();
|
|
}
|
|
} |