mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-23 18:50:26 +00:00
update nuget
This commit is contained in:
22
MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs
Normal file
22
MediaBrowser.Model/ApiClient/HttpResponseEventArgs.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
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; }
|
||||
}
|
||||
}
|
||||
@@ -18,6 +18,11 @@ namespace MediaBrowser.Model.ApiClient
|
||||
{
|
||||
public interface IApiClient : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// Occurs when [HTTP response received].
|
||||
/// </summary>
|
||||
event EventHandler<HttpResponseEventArgs> HttpResponseReceived;
|
||||
|
||||
/// <summary>
|
||||
/// Marks the notifications read.
|
||||
/// </summary>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
<Compile Include="..\SharedVersion.cs">
|
||||
<Link>Properties\SharedVersion.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="ApiClient\HttpResponseEventArgs.cs" />
|
||||
<Compile Include="ApiClient\IApiClient.cs" />
|
||||
<Compile Include="Configuration\BaseApplicationConfiguration.cs" />
|
||||
<Compile Include="Configuration\ManualLoginCategory.cs" />
|
||||
|
||||
Reference in New Issue
Block a user