Skip to content
forked from zhaojh329/libuwsc

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

License

Notifications You must be signed in to change notification settings

KevinWL/libuwsc

 
 

Repository files navigation

libuwsc(中文)

license PRs Welcome Issue Welcome Release Version

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

Keep Watching for More Actions on This Space

Dependencies

Install dependent packages

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

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.

QQ group: 153530783

If the project is helpful to you, please do not hesitate to star. Thank you!

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C 85.9%
  • CMake 11.5%
  • Python 2.6%