README.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. Wslay - The WebSocket library
  2. =============================
  3. Project Web: http://wslay.sourceforge.net/
  4. Wslay is a WebSocket library written in C.
  5. It implements the protocol version 13 described in
  6. `RFC 6455 <http://tools.ietf.org/html/rfc6455>`_.
  7. This library offers 2 levels of API:
  8. event-based API and frame-based low-level API. For event-based API, it
  9. is suitable for non-blocking reactor pattern style. You can set
  10. callbacks in various events. For frame-based API, you can send
  11. WebSocket frame directly. Wslay only supports data transfer part of
  12. WebSocket protocol and does not perform opening handshake in HTTP.
  13. Wslay supports:
  14. * Text/Binary messages.
  15. * Automatic ping reply.
  16. * Callback interface.
  17. * External event loop.
  18. Wslay does not perform any I/O operations for its own. Instead, it
  19. offers callbacks for them. This makes Wslay independent on any I/O
  20. frameworks, SSL, sockets, etc. This makes Wslay protable across
  21. various platforms and the application authors can choose freely I/O
  22. frameworks.
  23. See Autobahn test reports:
  24. `server <http://wslay.sourceforge.net/autobahn/reports/servers/index.html>`_
  25. and
  26. `client <http://wslay.sourceforge.net/autobahn/reports/clients/index.html>`_.