2020-04-05 09:10:56 -07:00
|
|
|
#nullable disable
|
2020-02-03 17:49:27 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:02:23 -07:00
|
|
|
using System.Net;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Services
|
|
|
|
{
|
|
|
|
public interface IHttpResult : IHasHeaders
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-04-05 09:10:56 -07:00
|
|
|
/// The HTTP Response Status.
|
2018-12-27 16:27:57 -07:00
|
|
|
/// </summary>
|
|
|
|
int Status { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2020-04-05 09:10:56 -07:00
|
|
|
/// The HTTP Response Status Code.
|
2018-12-27 16:27:57 -07:00
|
|
|
/// </summary>
|
|
|
|
HttpStatusCode StatusCode { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2020-04-05 09:10:56 -07:00
|
|
|
/// The HTTP Response ContentType.
|
2018-12-27 16:27:57 -07:00
|
|
|
/// </summary>
|
|
|
|
string ContentType { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2020-04-05 09:10:56 -07:00
|
|
|
/// Response DTO.
|
2018-12-27 16:27:57 -07:00
|
|
|
/// </summary>
|
|
|
|
object Response { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
2020-04-05 09:10:56 -07:00
|
|
|
/// Holds the request call context.
|
2018-12-27 16:27:57 -07:00
|
|
|
/// </summary>
|
|
|
|
IRequest RequestContext { get; set; }
|
|
|
|
}
|
|
|
|
}
|