mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
32 lines
744 B
C#
32 lines
744 B
C#
using System.Net;
|
|
|
|
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; }
|
|
}
|
|
}
|