From 48265fefa445d2b9e62c4f050fca3da783e6123f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 8 Jul 2013 22:38:18 -0400 Subject: update nuget --- .../ApiClient/HttpResponseEventArgs.cs | 22 ++++++++++++++++++++++ MediaBrowser.Model/ApiClient/IApiClient.cs | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs (limited to 'MediaBrowser.Model/ApiClient') diff --git a/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs b/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs new file mode 100644 index 000000000..417db404f --- /dev/null +++ b/MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs @@ -0,0 +1,22 @@ +using System; +using System.Net; + +namespace MediaBrowser.Model.ApiClient +{ + /// + /// Class HttpResponseEventArgs + /// + public class HttpResponseEventArgs : EventArgs + { + /// + /// Gets or sets the URL. + /// + /// The URL. + public string Url { get; set; } + /// + /// Gets or sets the status code. + /// + /// The status code. + public HttpStatusCode StatusCode { get; set; } + } +} diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index fb4e8b406..4ec7b14e1 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -18,6 +18,11 @@ namespace MediaBrowser.Model.ApiClient { public interface IApiClient : IDisposable { + /// + /// Occurs when [HTTP response received]. + /// + event EventHandler HttpResponseReceived; + /// /// Marks the notifications read. /// -- cgit v1.2.3