Skip to content

Check if connection is open. #19

@antonio-oliveira-melo

Description

@antonio-oliveira-melo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions