Table of Contents

Class MyServerInvokerWithCert

Namespace
Geotab.Checkmate.Web
Assembly
Geotab.Checkmate.ObjectModel.dll

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 string

The URL.

clientCertificate X509Certificate2

The client authentication certificate.

timeout int?

The request timeout in milliseconds. [Default 300000].

servicePath string

Path to web service. [Default "apiv1"].

customHttpClientInitializer IHttpClientWithCertInitializer

Create MyServerInvokerWithCert with own IHttpClientWithCertInitializer instance.

Properties

SharedHttpClient

Gets the shared HttpClient.

protected override HttpClient SharedHttpClient { get; }

Property Value

HttpClient

The HttpClient.