public void Init() { ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; var config = TestConfigurationInternal.GetConfig(); object[] args = { new HttpClient(), config.AccessToken, new Deserializer <response>(), 5, 15 }; _httpDataRestful = LogProxyFactory.Create <HttpDataRestful>(args); object[] args2 = { "https://api.betradar.com/v1/replay", _httpDataRestful, 0 }; _replayManager = LogProxyFactory.Create <ReplayManager>(args2); }
public void Init() { var config = TestConfigurationInternal.GetConfig(); object[] args = { new HttpClient(), config.AccessToken, new Deserializer <response>(), 5, 5 }; _httpDataRestful = LogInterceptorFactory.Create <HttpDataRestful>(args, null, LoggerType.RestTraffic); }