jellyfin/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs
2014-10-28 19:17:55 -04:00

34 lines
893 B
C#

using System;
using System.Collections.Generic;
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; }
/// <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>();
}
}
}