This function returns if the web socket passed is opened or not. In case it's opened, the function sends the request.
that has to be sent
web socket to check
if the web socket is opened or not
This function returns if the web socket passed is opened or not. In case it's opened, the function sends the request.