Esempio n. 1
0
        public PubnubHttp(PNConfiguration config, IJsonPluggableLibrary jsonPluggableLibrary, IPubnubLog log, EndPoint.TelemetryManager telemetryManager)
#endif
        {
            pubnubConfig       = config;
            jsonLib            = jsonPluggableLibrary;
            pubnubLog          = log;
            pubnubTelemetryMgr = telemetryManager;
#if !NET35 && !NET40 && !NET45 && !NET461 && !NETSTANDARD10
            httpClientSubscribe    = refHttpClientSubscribe;
            httpClientNonsubscribe = refHttpClientNonsubscribe;
#endif
        }
Esempio n. 2
0
 public UrlRequestBuilder(PNConfiguration config, IJsonPluggableLibrary jsonPluggableLibrary, IPubnubUnitTest pubnubUnitTest, IPubnubLog log, EndPoint.TelemetryManager pubnubTelemetryMgr)
 {
     this.pubnubConfig   = config;
     this.jsonLib        = jsonPluggableLibrary;
     this.pubnubUnitTest = pubnubUnitTest;
     this.pubnubLog      = log;
     this.telemetryMgr   = pubnubTelemetryMgr;
 }
Esempio n. 3
0
 public PubnubHttp(PNConfiguration config, IJsonPluggableLibrary jsonPluggableLibrary, IPubnubLog log, EndPoint.TelemetryManager telemetryManager, HttpClient refHttpClientSubscribe, HttpClient refHttpClientNonsubscribe)