Class HttpClientConfigurator
Inheritance
object
HttpClientConfigurator
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Algorand
Assembly: Algorand.dll
Syntax
public class HttpClientConfigurator
Methods
| Improve this Doc View SourceConfigureHttpClient(string, string, string, int, HttpMessageHandler)
Declaration
public static HttpClient ConfigureHttpClient(string host, string token, string tokenHeader = "", int timeout = -1, HttpMessageHandler shim = null)
Parameters
Type | Name | Description |
---|---|---|
string | host | |
string | token | |
string | tokenHeader | |
int | timeout | |
System.Net.Http.HttpMessageHandler | shim |
Returns
Type | Description |
---|---|
System.Net.Http.HttpClient |