From 9bf346dacab27cc31fdb3308c23fc86a400c717c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 1 Jun 2013 13:57:34 -0400 Subject: added basic timeout detection --- .../HttpClientManager/HttpClientInfo.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 MediaBrowser.Common.Implementations/HttpClientManager/HttpClientInfo.cs (limited to 'MediaBrowser.Common.Implementations/HttpClientManager/HttpClientInfo.cs') diff --git a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientInfo.cs b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientInfo.cs new file mode 100644 index 000000000..33f7079df --- /dev/null +++ b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientInfo.cs @@ -0,0 +1,22 @@ +using System; +using System.Net.Http; + +namespace MediaBrowser.Common.Implementations.HttpClientManager +{ + /// + /// Class HttpClientInfo + /// + public class HttpClientInfo + { + /// + /// Gets or sets the HTTP client. + /// + /// The HTTP client. + public HttpClient HttpClient { get; set; } + /// + /// Gets or sets the last timeout. + /// + /// The last timeout. + public DateTime LastTimeout { get; set; } + } +} -- cgit v1.2.3