aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/IHttpClient.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-10-16 12:40:20 +0300
committerGitHub <noreply@github.com>2019-10-16 12:40:20 +0300
commit9040ef87dc99462b1e85a5cb347f9ae8428bfa50 (patch)
tree24e99d87e7cb73fe7210293d09d5881680d23aff /MediaBrowser.Common/Net/IHttpClient.cs
parentdd83784da2114bc68302c48aba52c16c9fe1666c (diff)
parent9d4ce82ab9e85a89aa2463e051f805113d952ac5 (diff)
Merge pull request #1871 from Bond-009/doc
Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.Photos
Diffstat (limited to 'MediaBrowser.Common/Net/IHttpClient.cs')
-rw-r--r--MediaBrowser.Common/Net/IHttpClient.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Common/Net/IHttpClient.cs b/MediaBrowser.Common/Net/IHttpClient.cs
index d84a4d664..23ba34173 100644
--- a/MediaBrowser.Common/Net/IHttpClient.cs
+++ b/MediaBrowser.Common/Net/IHttpClient.cs
@@ -1,3 +1,4 @@
+using System;
using System.IO;
using System.Threading.Tasks;
using System.Net.Http;
@@ -25,12 +26,13 @@ namespace MediaBrowser.Common.Net
/// <summary>
/// Warning: Deprecated function,
- /// use 'Task<HttpResponseInfo> SendAsync(HttpRequestOptions options, HttpMethod httpMethod);' instead
+ /// use 'Task{HttpResponseInfo} SendAsync(HttpRequestOptions options, HttpMethod httpMethod);' instead
/// Sends the asynchronous.
/// </summary>
/// <param name="options">The options.</param>
/// <param name="httpMethod">The HTTP method.</param>
/// <returns>Task{HttpResponseInfo}.</returns>
+ [Obsolete("Use 'Task{HttpResponseInfo} SendAsync(HttpRequestOptions options, HttpMethod httpMethod);' instead")]
Task<HttpResponseInfo> SendAsync(HttpRequestOptions options, string httpMethod);
/// <summary>