RestSharp by John Sheehan, RestSharp Community

<PackageReference Include="RestSharp" Version="106.4.2" />

 IRestClient

public interface IRestClient

bool AutomaticDecompression { get; set; }

string BaseHost { get; set; }

Uri BaseUrl { get; set; }

X509CertificateCollection to be sent with request

string ConnectionGroupName { get; set; }

Encoding Encoding { get; set; }

bool FollowRedirects { get; set; }

int? MaxRedirects { get; set; }

bool Pipelined { get; set; }

bool PreAuthenticate { get; set; }

IWebProxy Proxy { get; set; }

int ReadWriteTimeout { get; set; }

Callback function for handling the validation of remote certificates. Useful for certificate pinning and overriding certificate errors in the scope of a request.

int Timeout { get; set; }

string UserAgent { get; set; }

bool UseSynchronizationContext { get; set; }

void AddHandler(string contentType, IDeserializer deserializer)

Adds or replaces a deserializer for the specified content type

Remove deserializers for all content types

Add a delegate to apply custom configuration to HttpWebRequest before making a call

byte[] DownloadData(IRestRequest request)

byte[] DownloadData(IRestRequest request, bool throwOnError)

IRestResponse<T> Execute<T>(IRestRequest request, Method httpMethod)

IRestResponse ExecuteAsGet(IRestRequest request, string httpMethod)

IRestResponse<T> ExecuteAsGet<T>(IRestRequest request, string httpMethod)

IRestResponse ExecuteAsPost(IRestRequest request, string httpMethod)

IRestResponse<T> ExecuteAsPost<T>(IRestRequest request, string httpMethod)

Executes a GET-style request and callback asynchronously, authenticating if needed

Executes a GET-style request and callback asynchronously, authenticating if needed

Executes a POST-style request and callback asynchronously, authenticating if needed

Executes a GET-style request and callback asynchronously, authenticating if needed

Executes a GET-style request asynchronously, authenticating if needed

Executes a GET-style request asynchronously, authenticating if needed

Executes a GET-style asynchronously, authenticating if needed

Executes a GET-style asynchronously, authenticating if needed

Executes a POST-style request asynchronously, authenticating if needed

Executes a POST-style request asynchronously, authenticating if needed

Executes a POST-style asynchronously, authenticating if needed

Executes a POST-style asynchronously, authenticating if needed

Executes the request and callback asynchronously, authenticating if needed

Executes the request asynchronously, authenticating if needed

Executes the request asynchronously, authenticating if needed

Executes the request and callback asynchronously, authenticating if needed

Executes the request and callback asynchronously, authenticating if needed

Executes the request asynchronously, authenticating if needed

void RemoveHandler(string contentType)

Removes custom deserialzier for the specified content type