react-use-websocket icon indicating copy to clipboard operation
react-use-websocket copied to clipboard

Sending password one time

Open cubecleveland opened this issue 2 years ago • 0 comments

Hello, I have visted this library before but it didnt work for my implementation but now i have another use case that i think would work great.

We have a socket that expects a combo of user/pasword in ajson on socket open ( the json is being sent form the client upon socket open) how can i mimick this behavout using the libarray. obviouslly we are looking at ashare socket across the app, i feel like repeating the function every time to send the code is unnecessary, any idea how to do that ?

cubecleveland avatar Mar 01 '22 15:03 cubecleveland