Need help with libuwsc?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

zhaojh329
242 Stars 46 Forks MIT License 186 Commits 5 Opened issues

Description

A Lightweight and fully asynchronous WebSocket client library based on libev

Services available

!
?

Need anything else?

Contributors list

# 32,676
Shell
remote-...
C
libev
11 commits
# 122,189
Shell
CSS
lua-bin...
Common ...
4 commits
# 49,931
webssh
openvpn
rs232
raku
2 commits
# 642,617
C
Lua
libev
lua-bin...
1 commit
# 18,260
hashes
opencl
mpd
openvpn
1 commit

libuwsc(中文)

license PRs Welcome Issue Welcome Release Version Build Status

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

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.