jellyfin-server/MediaBrowser.Model/Services/IHttpResult.cs

36 lines
799 B
C#
Raw Normal View History

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