Testing out websocket client and server



Websocket server 

To spin up a server that serve ws request, you can use the following code




Run "dep init"

Run "dep ensure -update"


Websocket client

npm install -g wscat

wscat -c ws://localhost:8002

You will see that you're connected. 


Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error