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

gemini cli getting file not defined error

mongosh install properly

llama cpp running it in google colab