Skip to content

Requesting Websocket.IsConnected Variable #173

Description

@KadeTheExploiter

The Websocket Library already has enough, however there is a fundamental I would really like to see added.
Websocket.IsConnected: boolean - Returns a boolean depending if the WebSocket is connected.

A use case: Creating Websocket Communication with executors, if I for example connect to the Websocket server and it suddenly disconnects, fails to load or something I can just simply while not Websocket.IsConnected do and reattempt, as far I'm aware it's possible to create this in pure lua, but having that extra variable already ready can speed up things.

Activity

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

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions