mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
core: refactor http webclient part 16 #8529
Rename RequestWithCookiesAsync method
This commit is contained in:
@@ -422,7 +422,7 @@ namespace Jackett.Common.Indexers
|
||||
{
|
||||
try
|
||||
{
|
||||
return await WebRequestWithCookiesAsync(
|
||||
return await RequestWithCookiesAsync(
|
||||
url, cookieOverride, method, referer, data, headers, rawbody, emulateBrowser);
|
||||
}
|
||||
catch (Exception e)
|
||||
@@ -438,7 +438,7 @@ namespace Jackett.Common.Indexers
|
||||
throw lastException;
|
||||
}
|
||||
|
||||
protected virtual async Task<WebResult> WebRequestWithCookiesAsync(
|
||||
protected virtual async Task<WebResult> RequestWithCookiesAsync(
|
||||
string url, string cookieOverride = null, RequestType method = RequestType.GET,
|
||||
string referer = null, IEnumerable<KeyValuePair<string, string>> data = null,
|
||||
Dictionary<string, string> headers = null, string rawbody = null, bool? emulateBrowser = null)
|
||||
|
Reference in New Issue
Block a user