/libuwsc

A Lightweight and fully asynchronous WebSocket client library based on libev

Primary LanguageCGNU Lesser General Public License v2.1LGPL-2.1

libuwsc(中文)

license PRs Welcome Issue Welcome Release Version

A Lightweight and fully asynchronous WebSocket client library based on libev for Embedded Linux.

Keep Watching for More Actions on This Space

Why should I choose libev?

libev tries to follow the UNIX toolbox philosophy of doing one thing only, as good as possible.

Dependencies

Install dependent packages

sudo apt int libev-dev libssl-dev

Configure

See which configuration are supported

~/libuwsc/$ mkdir build && cd build
~/libuwsc/build$ cmake .. -L
~/libuwsc/build$ cmake .. -LH

Build and install

~/libuwsc/build$ make && sudo make install

Install on OpenWrt

opkg update
opkg list | grep libuwsc
opkg install libuwsc-nossl

If the install command fails, you can compile it yourself.

Contributing

If you would like to help making libuwsc better, see the CONTRIBUTING.md file.