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.
Its only dependency is Qt.
The documentation can be found in the following places:
- The online Qt documentation:
- Build from source:
Note that the documentation links in this document will always be for the latest Qt 6 version. If you need to browse the documentation for a specific version, you can browse the archives.
- Client and server capable
- Text and binary sockets
- Frame-based and message-based signals
- Strict Unicode checking
- WSS and proxy support
QtWebSockets
is compliant with RFC6455 and has been tested with the Autobahn Testsuite.
- Extensions
Building the package/repository does depend on the Qt packages listed in dependencies.yaml. Further dependencies to system packages are listed in the configure output.
See the documentation for general advice on building the Qt framework and its modules from sources. Further information on how to build from source is also available in the wiki.
If you spot a bug, follow these steps to report it.
We welcome contributions to Qt! If you'd like to contribute, read the Qt Contribution Guidelines.
Qt is available under various licenses. For details, check out the license documentation.