wslay

The WebSocket library in C

  • 所有者: tatsuhiro-t/wslay
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者tatsuhiro-t/wslay
主編程語言C
編程語言CMake (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2011-12-25 14:10:02
推送於2022-08-25 07:26:16
最后一次提交2022-08-25 16:26:16
發布數5
最新版本名稱release-1.1.1 (發布於 2020-06-20 15:58:57)
第一版名稱release-0.1.0 (發布於 2012-01-15 17:05:50)
用户参与
星數637
關注者數47
派生數136
提交數233
已啟用問題?
問題數32
打開的問題數18
拉請求數25
打開的拉請求數10
關閉的拉請求數3
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?