jellyfin-server/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs

34 lines
893 B
C#
Raw Normal View History

2013-07-09 02:38:18 +00:00
using System;
2014-10-28 23:17:55 +00:00
using System.Collections.Generic;
2013-07-09 02:38:18 +00:00
using System.Net;
namespace MediaBrowser.Model.ApiClient
{
/// <summary>
/// Class HttpResponseEventArgs
/// </summary>
public class HttpResponseEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the URL.
/// </summary>
/// <value>The URL.</value>
public string Url { get; set; }
/// <summary>
/// Gets or sets the status code.
/// </summary>
/// <value>The status code.</value>
public HttpStatusCode StatusCode { get; set; }
2014-10-28 23:17:55 +00:00
/// <summary>
/// Gets or sets the headers.
/// </summary>
/// <value>The headers.</value>
public Dictionary<string, string> Headers { get; set; }
public HttpResponseEventArgs()
{
Headers = new Dictionary<string, string>();
}
2013-07-09 02:38:18 +00:00
}
}