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

The specified initialization vector (IV) does not match the block size for this algorithm