Giter Site home page Giter Site logo

octarion / libuwsc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhaojh329/libuwsc

0.0 1.0 0.0 206 KB

A Lightweight and fully asynchronous WebSocket client library based on libev

License: MIT License

CMake 14.29% C 79.63% Lua 2.15% Makefile 3.94%

libuwsc's Introduction

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 int 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.

libuwsc's People

Contributors

hermanverschooten avatar zhaojh329 avatar neheb avatar spot62 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.