Continuing the journey of webby things based on 
[chronos](https://github.com/status-im/nim-chronos/), we now have a first 
version out of [nim-ws](https://github.com/status-im/nim-ws/).

nim-ws, very imaginatively named, is a library for websocket communication - 
we're currently using it to communicate with services that offer an API over 
websockets as a slightly more efficient alternative to regular http requests - 
in particular, Ethereum can be accessed this way, often via 
[nim-json-rpc](https://github.com/status-im/nim-json-rpc/) which recently 
gained `nim-ws` support.

There's a lot of good things to say about the library, but what's nice about it 
in particular is that it passes the entire [autobahn test 
suite](https://github.com/crossbario/autobahn-testsuite), complete with 
compression, extension support and all!

Next up, we'll be adding support for websocket endpoints in 
[nim-libp2p](https://github.com/status-im/nim-libp2p/) to enable better 
communication options for browser-based applications, in particular our suite 
of privacy-preserving protocols found in 
[nim-waku](https://github.com/status-im/nim-waku).

Have fun with it :) 

Reply via email to