Hi, how can I check if the thrift connection is open/valid before I use the client method? Is there a way to know if the connection was established correctly when I'm creating a thrift client?
If I just do this:
var thrift_client = thriftPool(thrift, Service, {host: "localhost", port: 9090});
How can i guarantee that the connection is working before i call a method on the client?
Hi, how can I check if the thrift connection is open/valid before I use the client method? Is there a way to know if the connection was established correctly when I'm creating a thrift client?
If I just do this:
var thrift_client = thriftPool(thrift, Service, {host: "localhost", port: 9090});How can i guarantee that the connection is working before i call a method on the client?