Skip to content

client:getpeername() but with websocket:client? #114

Description

@gitdhar

Is there an equivalent of client:getpeername() but with websocket:client?
I have a monitoring program that periodically checks for the status of this websocket connection. If it is not connected, I reconnect.
For this, I was trying to use client::getpeername() and use the return string to determine if the socket is healthy or not.
Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions