2020-05-01 19:05:28 +01:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Net.Http;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web.Http
|
|
|
|
{
|
2020-05-02 12:04:26 +01:00
|
|
|
public class Request : IRequest
|
2020-05-01 19:05:28 +01:00
|
|
|
{
|
|
|
|
public Request()
|
|
|
|
{
|
|
|
|
Headers = new Dictionary<string, string>();
|
|
|
|
Parameters = new Dictionary<string, string>();
|
|
|
|
}
|
|
|
|
|
|
|
|
public Uri BaseAddress { get; set; }
|
|
|
|
|
|
|
|
public Uri Endpoint { get; set; }
|
|
|
|
|
|
|
|
public IDictionary<string, string> Headers { get; set; }
|
|
|
|
|
|
|
|
public IDictionary<string, string> Parameters { get; set; }
|
|
|
|
|
|
|
|
public HttpMethod Method { get; set; }
|
|
|
|
|
|
|
|
public object Body { get; set; }
|
|
|
|
}
|
|
|
|
}
|