using System; using System.Collections.Generic; using System.Net.Http; namespace Octokit.Internal { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces")] public class Request : IRequest { public Request() { Headers = new Dictionary(); Parameters = new Dictionary(); AllowAutoRedirect = true; Timeout = TimeSpan.FromSeconds(100); } public object Body { get; set; } public Dictionary Headers { get; private set; } public HttpMethod Method { get; set; } public Dictionary Parameters { get; private set; } public Uri BaseAddress { get; set; } public Uri Endpoint { get; set; } public TimeSpan Timeout { get; set; } public string ContentType { get; set; } public bool AllowAutoRedirect { get; set; } } }