diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-10-20 12:19:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-20 12:19:03 -0400 |
| commit | 9b383f6b1ad57489c71e4d81d9c831d3d5960f10 (patch) | |
| tree | 87fc46c77646967dbb88f49538531a81004f9a7b /MediaBrowser.Common/Net/IHttpClient.cs | |
| parent | 93a0244b7aee9d850dfa48762e64348a3c864ef5 (diff) | |
| parent | 0cf4f01dc72b3775e3af067ed1eef51c683a3c02 (diff) | |
Merge pull request #2965 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Common/Net/IHttpClient.cs')
| -rw-r--r-- | MediaBrowser.Common/Net/IHttpClient.cs | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/MediaBrowser.Common/Net/IHttpClient.cs b/MediaBrowser.Common/Net/IHttpClient.cs index 15257715f..cf5511965 100644 --- a/MediaBrowser.Common/Net/IHttpClient.cs +++ b/MediaBrowser.Common/Net/IHttpClient.cs @@ -19,24 +19,6 @@ namespace MediaBrowser.Common.Net Task<HttpResponseInfo> GetResponse(HttpRequestOptions options); /// <summary> - /// Performs a GET request and returns the resulting stream - /// </summary> - /// <param name="url">The URL.</param> - /// <param name="resourcePool">The resource pool.</param> - /// <param name="cancellationToken">The cancellation token.</param> - /// <returns>Task{Stream}.</returns> - /// <exception cref="MediaBrowser.Model.Net.HttpException"></exception> - Task<Stream> Get(string url, SemaphoreSlim resourcePool, CancellationToken cancellationToken); - - /// <summary> - /// Gets the specified URL. - /// </summary> - /// <param name="url">The URL.</param> - /// <param name="cancellationToken">The cancellation token.</param> - /// <returns>Task{Stream}.</returns> - Task<Stream> Get(string url, CancellationToken cancellationToken); - - /// <summary> /// Gets the specified options. /// </summary> /// <param name="options">The options.</param> @@ -52,35 +34,6 @@ namespace MediaBrowser.Common.Net Task<HttpResponseInfo> SendAsync(HttpRequestOptions options, string httpMethod); /// <summary> - /// Performs a POST request - /// </summary> - /// <param name="url">The URL.</param> - /// <param name="postData">Params to add to the POST data.</param> - /// <param name="resourcePool">The resource pool.</param> - /// <param name="cancellationToken">The cancellation token.</param> - /// <returns>stream on success, null on failure</returns> - /// <exception cref="System.ArgumentNullException">postData</exception> - /// <exception cref="MediaBrowser.Model.Net.HttpException"></exception> - Task<Stream> Post(string url, Dictionary<string, string> postData, SemaphoreSlim resourcePool, CancellationToken cancellationToken); - - /// <summary> - /// Posts the specified URL. - /// </summary> - /// <param name="url">The URL.</param> - /// <param name="postData">The post data.</param> - /// <param name="cancellationToken">The cancellation token.</param> - /// <returns>Task{Stream}.</returns> - Task<Stream> Post(string url, Dictionary<string, string> postData, CancellationToken cancellationToken); - - /// <summary> - /// Posts the specified options with post data - /// </summary> - /// <param name="options">The options</param> - /// <param name="postData">The post data</param> - /// <returns>Task{Stream}</returns> - Task<Stream> Post(HttpRequestOptions options, Dictionary<string, string> postData); - - /// <summary> /// Posts the specified options. /// </summary> /// <param name="options">The options.</param> |
