tree: 9746345bd64124461052b2f83ed034032d535465 [path history] [tgz]
  1. dist/
  2. examples/
  3. include/
  4. src/
  5. tests/
  6. .qmake.conf
  7. .QT-ENTERPRISE-LICENSE-AGREEMENT
  8. .QT-FOR-APPLICATION-DEVELOPMENT-LICENSE-AGREEMENT
  9. .QT-FOR-AUTOMATION-LICENSE-AGREEMENT
  10. .QT-FOR-AUTOMOTIVE-LICENSE-AGREEMENT
  11. .QT-FOR-DEVICE-CREATION-LICENSE-AGREEMENT
  12. .tag
  13. LICENSE.GPL2
  14. LICENSE.GPL3
  15. LICENSE.GPL3-EXCEPT
  16. LICENSE.LGPL3
  17. qtwebsockets.pro
  18. README.md
  19. sync.profile
qt-everywhere-src-5.15.1/qtwebsockets/README.md

Introduction

QtWebSockets is a pure Qt implementation of WebSockets - both client and server. It is implemented as a Qt add-on module, that can easily be embedded into existing Qt projects. It has no other dependencies than Qt.

Features

  • Client and server capable
  • Text and binary sockets
  • Frame-based and message-based signals
  • Strict Unicode checking
  • WSS and proxy support

Requirements

Qt 5.x

Build And Usage

Checkout the source code from code.qt.io Go into the source directory and execute:

qmake
make
make install

The last command will install QtWebSockets as a Qt module.

To use, add websockets to the QT variable.

QT += websockets

Compliance

QtWebSockets is compliant with RFC6455 and has been tested with the Autobahn Testsuite.

Missing Features

  • Extensions and sub-protocols