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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.1.1-bp156.3.6 info | GA Release | 2024-05-13 | 15 SP6 |
|
|
1.1.1-bp155.2.14 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
1.1.1-bp154.1.25 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.0.0-bp153.1.18 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.0.0-bp152.3.15 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
1.0.0-bp151.3.1 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
1.0.0-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
1.0.0-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|
1.0.0-bp150.2.3 info | GA Release | 2018-07-30 | 15 |
|
|