2019-01-13 20:02:23 +00:00
|
|
|
using System.Net;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Services
|
|
|
|
{
|
|
|
|
public interface IHttpResult : IHasHeaders
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The HTTP Response Status
|
|
|
|
/// </summary>
|
|
|
|
int Status { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The HTTP Response Status Code
|
|
|
|
/// </summary>
|
|
|
|
HttpStatusCode StatusCode { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The HTTP Response ContentType
|
|
|
|
/// </summary>
|
|
|
|
string ContentType { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Response DTO
|
|
|
|
/// </summary>
|
|
|
|
object Response { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Holds the request call context
|
|
|
|
/// </summary>
|
|
|
|
IRequest RequestContext { get; set; }
|
|
|
|
}
|
|
|
|
}
|