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
urlstringThe URL.
clientCertificateX509Certificate2The client authentication certificate.
timeoutint?The request timeout in milliseconds. [Default 300000].
servicePathstringPath to web service. [Default "apiv1"].
customHttpClientInitializerIHttpClientWithCertInitializerCreate MyServerInvokerWithCert with own IHttpClientWithCertInitializer instance.
Properties
SharedHttpClient
Gets the shared HttpClient.
protected override HttpClient SharedHttpClient { get; }
  Property Value
- HttpClient
 The HttpClient.