mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 16:25:28 +03:00
Fix build
This commit is contained in:
@@ -22,16 +22,6 @@ namespace MediaBrowser.Common.Net
|
||||
_httpClient = httpClient;
|
||||
}
|
||||
|
||||
/// <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(string url)
|
||||
{
|
||||
return _httpClient.GetAsync(url);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Make GET request.
|
||||
/// </summary>
|
||||
@@ -42,17 +32,6 @@ namespace MediaBrowser.Common.Net
|
||||
return _httpClient.GetAsync(url);
|
||||
}
|
||||
|
||||
/// <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(string url, CancellationToken cancellationToken)
|
||||
{
|
||||
return _httpClient.GetAsync(url, cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Make GET request.
|
||||
/// </summary>
|
||||
@@ -64,16 +43,6 @@ namespace MediaBrowser.Common.Net
|
||||
return _httpClient.GetAsync(url, cancellationToken);
|
||||
}
|
||||
|
||||
/// <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(string url)
|
||||
{
|
||||
return _httpClient.GetStreamAsync(url);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get stream.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user