core: refactor http webclient part 16 #8529

Rename RequestWithCookiesAsync method
This commit is contained in:
ngosang
2020-09-21 18:39:47 +02:00
parent 5ad1c9c87c
commit 621a47338d
58 changed files with 123 additions and 121 deletions

View File

@@ -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)