added basic timeout detection

This commit is contained in:
Luke Pulverenti
2013-06-01 13:57:34 -04:00
parent 6accfc124d
commit 9bf346daca
5 changed files with 59 additions and 122 deletions

View File

@@ -0,0 +1,22 @@
using System;
using System.Net.Http;
namespace MediaBrowser.Common.Implementations.HttpClientManager
{
/// <summary>
/// Class HttpClientInfo
/// </summary>
public class HttpClientInfo
{
/// <summary>
/// Gets or sets the HTTP client.
/// </summary>
/// <value>The HTTP client.</value>
public HttpClient HttpClient { get; set; }
/// <summary>
/// Gets or sets the last timeout.
/// </summary>
/// <value>The last timeout.</value>
public DateTime LastTimeout { get; set; }
}
}