public static IClient GetClient(TestSettings settings)
        {
            var url = settings.GetRPCUrl();

            return(new RpcClient(new Uri(url)));
        }
Exemple #2
0
        public static IClient GetClient(TestSettings settings)
        {
            var url = settings.GetRPCUrl();

            return(new HttpClient(new Uri(url), DefaultTimeOutForTests));
        }
Exemple #3
0
        //TODO:Subscriptions
        public static IStreamingClient GetStreamingClient(TestSettings settings)
        {
            var url = settings.GetLiveWSRpcUrl();

            return(new StreamingWebSocketClient(url));
        }
 protected RPCRequestTester()
 {
     Settings = new TestSettings();
     Client   = ClientFactory.GetClient(Settings);
 }