jellyfin/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs

34 lines
893 B
C#
Raw Normal View History

2013-07-08 19:38:18 -07:00
using System;
2014-10-28 16:17:55 -07:00
using System.Collections.Generic;
2013-07-08 19:38:18 -07: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 16:17:55 -07: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-08 19:38:18 -07:00
}
}