aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs
blob: b1c19f05665a027c439c22923d59818a141a8c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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>();
        }
    }
}