diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-10-09 17:10:16 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-10-09 17:14:15 +0200 |
| commit | 9d4ce82ab9e85a89aa2463e051f805113d952ac5 (patch) | |
| tree | 27ca4a6f450dd1959be04fb534f93881d4718627 /MediaBrowser.Common/Net/IHttpClient.cs | |
| parent | d8d2e52e3ffaa59a32cc2cbb4997022b979f9ca0 (diff) | |
Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.Photos
Adds `#pragma warning disable CS1591` to all files in
MediaBrowser.Common containing undocumented members.
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> |
