Beispiel #1
0
 protected BaseEdiApiHttpClient(
     string apiClientId, string environment, IEdiApiTypesSerializer serializer,
     int timeoutInMilliseconds, IWebProxy?proxy = null, ITracer?tracer = null)
 {
     this.apiClientId = apiClientId;
     Serializer       = serializer;
     clusterClient    = ClusterClientFactory.Get(environment, timeoutInMilliseconds, proxy, tracer: tracer);
 }
Beispiel #2
0
 protected BaseEdiApiHttpClient(
     string apiClientId, Uri baseUri, IEdiApiTypesSerializer serializer,
     int timeoutInMilliseconds, IWebProxy?proxy = null)
 {
     this.apiClientId = apiClientId;
     Serializer       = serializer;
     clusterClient    = ClusterClientFactory.Get(baseUri, timeoutInMilliseconds, proxy);
 }