libuwsc(中文)
A Lightweight and fully asynchronous WebSocket client C library based on libubox for Embedded Linux.
Keep Watching for More Actions on This Space
- libubox
- ustream-ssl - If you need to support SSL
- mbedtls - If you choose mbedtls as your SSL backend
- CyaSSl(wolfssl) - If you choose wolfssl as your SSL backend
- openssl - If you choose openssl as your SSL backend
sudo apt install libjson-c-dev
git clone https://git.openwrt.org/project/libubox.git
cd libubox && cmake -DBUILD_LUA=OFF . && sudo make install
git clone https://git.openwrt.org/project/ustream-ssl.git
cd ustream-ssl && cmake . && sudo make install
See which configuration are supported
~/libuwsc/$ mkdir build && cd build
~/libuwsc/build$ cmake .. -L
~/libuwsc/build$ cmake .. -LH
~/libuwsc/build$ make && sudo make install
opkg update
opkg list | grep libuwsc
opkg install libuwsc-nossl
If the install command fails, you can compile it yourself.
If you would like to help making libuwsc better, see the CONTRIBUTING.md file.