wslay for Mac
Project Web:
wslay — overview
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 _. 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 _ and client _.
Requirements
Sphinx _ 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
Details
C websocket 库
How to install wslay
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2020-06-20; current version release-1.1.1, with the latest 2 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| release-1.1.1 | 2020-06-20 | Stable | 446 KB | Download | — | — |
| release-1.1.0 | 2018-06-08 | Stable | 446 KB | — | — | — |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| wslay | release-1.1.1 | MIT | CLI | 9 |
| nopoll | 0.4.9.b462 | LGPL-2.1-or-later | CLI | 0 |
| anycable-go | v1.6.20 | MIT | CLI | 73 |
| qtwebsockets | 6.12.0 | (LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND BSD-3-Clause | CLI | 161 |
Similar apps: Command-line Tools
nopoll
nopoll is an open-source WebSocket toolkit written in C, aimed at developers who need to add…anycable-go
WebSocket server with action cable protocolqtwebsockets
qtwebsockets is the WebSocket communication module within the Qt development framework…openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratiopkgconf
pkgconf is a program which helps to configure compiler and linker flags for development…Categories: Command-line Tools