项目
在 GitHub 查看
zhaojh329/libuwsc
关于
A Lightweight and fully asynchronous WebSocket client library based on libev
网站与应用开发可以做什么
- Lightweight - 35KB(Using glibc,stripped)
- Fully asynchronous - Use libev as its event backend
- Support ssl - OpenSSL, mbedtls and CyaSSl(wolfssl)
- Code structure is concise and understandable, also suitable for learning
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文libuwsc(中文)
A Lightweight and fully asynchronous WebSocket client library based on libev for Embedded Linux. And provide Lua-binding.
Why should I choose libev?
libev tries to follow the UNIX toolbox philosophy of doing one thing only, as good as possible.
Features
- Lightweight - 35KB(Using glibc,stripped)
- Fully asynchronous - Use libev as its event backend
- Support ssl - OpenSSL, mbedtls and CyaSSl(wolfssl)
- Code structure is concise and understandable, also suitable for learning
- Lua-binding
Dependencies
- libev
- openssl - If you choose openssl as your SSL backend
- mbedtls(polarssl) - If you choose mbedtls as your SSL backend
- cyassl(wolfssl) - If you choose wolfssl as your SSL backend
- lua-ev - If you use Lua
Install dependent packages
sudo apt install libev-dev libssl-dev
Build and install
git clone --recursive https://github.com/zhaojh329/libuwsc.git
cd libuwsc
mkdir build && cd build
cmake ..
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.
探索相关项目
加载中…