[Development] [Feature Request] Add QtWebSockets to Qt

Kurt Pattyn pattyn.kurt at gmail.com
Fri Dec 20 23:07:13 CET 2013


Hi,

I propose to move QtWebSockets from the playground (https://qt.gitorious.org/qtplayground/websockets/) to the official Qt repository as an add-on.
As there is a need for a websockets implementation in Qt (see https://bugreports.qt-project.org/browse/QTBUG-26300 and https://bugreports.qt-project.org/browse/QTBUG-26298), QtWebSockets could be a welcome addition.

The module only depends on Qt (core and network, and Qml for the Qml component).
It supports the ws and wss schemes, and can be used as a client and server component.
The API is modelled after QAbstractSocket and QTcpSocket, and hence should be familiar for Qt developers. The Qml module has been reviewed by Alan Alpert, and is considered 'QML-worthy'. Currently, the module builds as a Qt add-on, and can be used by adding QT += websockets.

QtWebSockets passes the Autobahn Testsuite (see http://autobahn.ws/testsuite/), has extensive unit tests, and builds successfully on the Qt CI infrastructure. Performance has also been tested with AutoBahn TestSuite, and is up-to-par with all current browsers and websocketpp (even slightly faster).

Please cast your votes.

Cheers,

Kurt


More information about the Development mailing list