mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
Misc
This commit is contained in:
parent
800d10de96
commit
149f2e679f
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ namespace ArchiSteamFarm {
|
|||
|
||||
HtmlDocumentResponse result = null;
|
||||
|
||||
for (int i = 0; i < maxTries; i++) {
|
||||
for (byte i = 0; i < maxTries; i++) {
|
||||
await using StreamResponse response = await UrlGetToStream(request, referer, requestOptions | ERequestOptions.ReturnClientErrors, 1).ConfigureAwait(false);
|
||||
|
||||
if (response?.StatusCode.IsClientErrorCode() == true) {
|
||||
|
@ -330,7 +330,7 @@ namespace ArchiSteamFarm {
|
|||
|
||||
HtmlDocumentResponse result = null;
|
||||
|
||||
for (int i = 0; i < maxTries; i++) {
|
||||
for (byte i = 0; i < maxTries; i++) {
|
||||
await using StreamResponse response = await UrlPostToStream(request, data, referer, requestOptions | ERequestOptions.ReturnClientErrors, 1).ConfigureAwait(false);
|
||||
|
||||
if (response?.StatusCode.IsClientErrorCode() == true) {
|
||||
|
|
Loading…
Reference in a new issue