I feel a little scammed

This commit is contained in:
4sval
2022-07-26 18:47:12 +02:00
parent 3bc1d10988
commit ffedb2be90
7 changed files with 55 additions and 15 deletions

View File

@@ -0,0 +1,19 @@
using System;
using RestSharp;
namespace FModel.Framework;
public class FRestRequest : RestRequest
{
private const int _timeout = 3 * 1000;
public FRestRequest(string url, Method method = Method.Get) : base(url, method)
{
Timeout = _timeout;
}
public FRestRequest(Uri uri, Method method = Method.Get) : base(uri, method)
{
Timeout = _timeout;
}
}