Class MyServerInvokerWithCert
Remote MyGeotab API invoker.
public class MyServerInvokerWithCert : MyServerInvoker, IWebServerInvoker
- Inheritance
-
MyServerInvokerWithCert
- Implements
- Inherited Members
Remarks
The maximum number of concurrent connections per server is 64, provided by the default IHttpClientWithCertInitializer. It can be increased/decreased by providing a custom instance of IHttpClientWithCertInitializer.
Constructors
MyServerInvokerWithCert(string, X509Certificate2?, int?, string?, IHttpClientWithCertInitializer?)
Initializes a new instance of the MyServerInvokerWithCert class.
public MyServerInvokerWithCert(string url, X509Certificate2? clientCertificate, int? timeout = 300000, string? servicePath = null, IHttpClientWithCertInitializer? customHttpClientInitializer = null)
Parameters
url
stringThe URL.
clientCertificate
X509Certificate2The client authentication certificate.
timeout
int?The request timeout in milliseconds. [Default 300000].
servicePath
stringPath to web service. [Default "apiv1"].
customHttpClientInitializer
IHttpClientWithCertInitializerCreate MyServerInvokerWithCert with own IHttpClientWithCertInitializer instance.
Properties
SharedHttpClient
Gets the shared HttpClient.
protected override HttpClient SharedHttpClient { get; }
Property Value
- HttpClient
The HttpClient.