aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/DefaultHttpClient.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-19 07:09:07 -0600
committercrobibero <cody@robibe.ro>2020-08-19 07:09:07 -0600
commitf6b8cd4b46d03a1baa86d4ee31d1a66e2ad05097 (patch)
treefac437d9a33cfb76a2aeac11229f10e3cbefd95d /MediaBrowser.Common/Net/DefaultHttpClient.cs
parentac5c0866f3745784c78e376c2eefb111b929d8e5 (diff)
Fix build
Diffstat (limited to 'MediaBrowser.Common/Net/DefaultHttpClient.cs')
-rw-r--r--MediaBrowser.Common/Net/DefaultHttpClient.cs31
1 files changed, 0 insertions, 31 deletions
diff --git a/MediaBrowser.Common/Net/DefaultHttpClient.cs b/MediaBrowser.Common/Net/DefaultHttpClient.cs
index cbc06eec0..be18e82db 100644
--- a/MediaBrowser.Common/Net/DefaultHttpClient.cs
+++ b/MediaBrowser.Common/Net/DefaultHttpClient.cs
@@ -27,16 +27,6 @@ namespace MediaBrowser.Common.Net
/// </summary>
/// <param name="url">Url to request.</param>
/// <returns>A <see cref="Task"/> containing the <see cref="HttpResponseMessage"/>.</returns>
- public Task<HttpResponseMessage> GetAsync(string url)
- {
- return _httpClient.GetAsync(url);
- }
-
- /// <summary>
- /// Make GET request.
- /// </summary>
- /// <param name="url">Url to request.</param>
- /// <returns>A <see cref="Task"/> containing the <see cref="HttpResponseMessage"/>.</returns>
public Task<HttpResponseMessage> GetAsync(Uri url)
{
return _httpClient.GetAsync(url);
@@ -48,17 +38,6 @@ namespace MediaBrowser.Common.Net
/// <param name="url">Url to request.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>A <see cref="Task"/> containing the <see cref="HttpResponseMessage"/>.</returns>
- public Task<HttpResponseMessage> GetAsync(string url, CancellationToken cancellationToken)
- {
- return _httpClient.GetAsync(url, cancellationToken);
- }
-
- /// <summary>
- /// Make GET request.
- /// </summary>
- /// <param name="url">Url to request.</param>
- /// <param name="cancellationToken">The cancellation token.</param>
- /// <returns>A <see cref="Task"/> containing the <see cref="HttpResponseMessage"/>.</returns>
public Task<HttpResponseMessage> GetAsync(Uri url, CancellationToken cancellationToken)
{
return _httpClient.GetAsync(url, cancellationToken);
@@ -69,16 +48,6 @@ namespace MediaBrowser.Common.Net
/// </summary>
/// <param name="url">Url to get stream from.</param>
/// <returns>A <see cref="Task"/> containing the <see cref="Stream"/>.</returns>
- public Task<Stream> GetStreamAsync(string url)
- {
- return _httpClient.GetStreamAsync(url);
- }
-
- /// <summary>
- /// Get stream.
- /// </summary>
- /// <param name="url">Url to get stream from.</param>
- /// <returns>A <see cref="Task"/> containing the <see cref="Stream"/>.</returns>
public Task<Stream> GetStreamAsync(Uri url)
{
return _httpClient.GetStreamAsync(url);