diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2019-10-16 12:40:20 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-16 12:40:20 +0300 |
| commit | 9040ef87dc99462b1e85a5cb347f9ae8428bfa50 (patch) | |
| tree | 24e99d87e7cb73fe7210293d09d5881680d23aff /MediaBrowser.Common/Net/IHttpClient.cs | |
| parent | dd83784da2114bc68302c48aba52c16c9fe1666c (diff) | |
| parent | 9d4ce82ab9e85a89aa2463e051f805113d952ac5 (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.cs | 4 |
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> |
