Skip to content

is_connected()?  #227

Open
Open
@dr-kernel

Description

@dr-kernel

I'm looking at how best to determine that my transport layer is still active without having to send a request to the server and get an ErrorKind::NotConnected. I've noticed that the transport object is heavily buried int he client. Any suggestions about best way to do a quick boolean check before trying to read/write and having to create a new connection?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions