All Projects → tatsuhiro-t → Wslay

tatsuhiro-t / Wslay

Licence: mit
The WebSocket library in C

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Wslay

Huobi python
Python SDK for Huobi Spot API
Stars: ✭ 391 (-17.16%)
Mutual labels:  websocket
Framework
Node.js framework
Stars: ✭ 4,139 (+776.91%)
Mutual labels:  websocket
Primus
⚡ Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.
Stars: ✭ 4,302 (+811.44%)
Mutual labels:  websocket
Xchange Stream
XChange-stream is a Java library providing a simple and consistent streaming API for interacting with Bitcoin and other crypto currency exchanges via WebSocket protocol. It is build on top of of XChange library providing new interfaces for streaming API. User can subscribe for live updates via reactive streams of RxJava library.
Stars: ✭ 402 (-14.83%)
Mutual labels:  websocket
Microwebsrv
A micro HTTP Web server that supports WebSockets, html/python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32)
Stars: ✭ 420 (-11.02%)
Mutual labels:  websocket
Centrifuge
Real-time messaging library for Go with scalability in mind
Stars: ✭ 446 (-5.51%)
Mutual labels:  websocket
Socket.io Unity
socket.io client for Unity, power game client with node.js back-end
Stars: ✭ 396 (-16.1%)
Mutual labels:  websocket
Goflyway
An encrypted HTTP server
Stars: ✭ 4,292 (+809.32%)
Mutual labels:  websocket
Websocket
The Hoa\Websocket library.
Stars: ✭ 421 (-10.81%)
Mutual labels:  websocket
Engine.io
socket.io
Stars: ✭ 4,329 (+817.16%)
Mutual labels:  websocket
Agileconfig
基于.NET Core开发的轻量级分布式配置中心 / .NET Core light configuration server
Stars: ✭ 403 (-14.62%)
Mutual labels:  websocket
Hydra
后端一站式微服务框架,提供API、web、websocket,RPC、任务调度、消息消费服务器
Stars: ✭ 407 (-13.77%)
Mutual labels:  websocket
Webim
基于环信webim+layim的web网页即时通讯 layim H5移动版
Stars: ✭ 448 (-5.08%)
Mutual labels:  websocket
Spring Samples For All
spring、spring-boot、spring-cloud 常用整合用例
Stars: ✭ 401 (-15.04%)
Mutual labels:  websocket
Socketio Client Ue4
socket.io client plugin for Unreal Engine 4
Stars: ✭ 451 (-4.45%)
Mutual labels:  websocket
Grpc Websocket Proxy
A proxy to transparently upgrade grpc-gateway streaming endpoints to use websockets
Stars: ✭ 395 (-16.31%)
Mutual labels:  websocket
Happychat
基于Netty实现的WebSocket聊天室,支持几万人同时在线聊天
Stars: ✭ 445 (-5.72%)
Mutual labels:  websocket
Aria2.js
JavaScript library for aria2, "The next generation download utility."
Stars: ✭ 471 (-0.21%)
Mutual labels:  websocket
Iogrid
Multiplayer game engine/framework built using SocketCluster and Phaser
Stars: ✭ 455 (-3.6%)
Mutual labels:  websocket
Flask Socketio
Socket.IO integration for Flask applications.
Stars: ✭ 4,523 (+858.26%)
Mutual labels:  websocket

Wslay - The WebSocket library

Project Web: https://tatsuhiro-t.github.io/wslay/

Wslay is a WebSocket library written in C. It implements the protocol version 13 described in RFC 6455 <http://tools.ietf.org/html/rfc6455>_. This library offers 2 levels of API: event-based API and frame-based low-level API. For event-based API, it is suitable for non-blocking reactor pattern style. You can set callbacks in various events. For frame-based API, you can send WebSocket frame directly. Wslay only supports data transfer part of WebSocket protocol and does not perform opening handshake in HTTP.

Wslay supports:

  • Text/Binary messages.
  • Automatic ping reply.
  • Callback interface.
  • External event loop.

Wslay does not perform any I/O operations for its own. Instead, it offers callbacks for them. This makes Wslay independent on any I/O frameworks, SSL, sockets, etc. This makes Wslay portable across various platforms and the application authors can choose freely I/O frameworks.

See Autobahn test reports: server <http://wslay.sourceforge.net/autobahn/reports/servers/index.html>_ and client <http://wslay.sourceforge.net/autobahn/reports/clients/index.html>_.

Requirements

Sphinx <http://www.sphinx-doc.org/en/stable/>_ is used to generate man pages.

To build and run the unit test programs, the following packages are needed:

  • cunit >= 2.1

To build and run the example programs, the following packages are needed:

  • nettle >= 2.4

Build from git

Building from git is easy, but please be sure that at least autoconf 2.68 is used.::

$ autoreconf -i
$ automake
$ autoconf
$ ./configure
$ make
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].