static void Main(string[] args) { var communication = ThriftCommunication.Binary().OverHttp("http://*****:*****@justiceleague.com" }, new Contact { FirstName = "Clark", LastName = "Kent", Email = "*****@*****.**" } }); foreach (var e in contacts) { Console.WriteLine(e); } }
public ImpalaClient(IPEndPoint host) { var comm = ThriftCommunication.Binary().UsingCustomTransport(token => new ThriftTcpTransport(host, _id)); _impalaService = ThriftProxy.Create <IImpalaService>(comm); }