Update websocket example to use the new sub-protocol feature
This also fixes the example, which was erroring out when
the server picked a sub-protocol due to a bug in QWebSocket
Pick-to: 6.4
Task-number: QTBUG-108276
Change-Id: I582facd79bb5af7e068941d59e2d44b57a39aebc
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
| commit | e8232684191565bf32c892d5f5701194b337a94a |
| parent | 9c3a4cdcdc47b5ad2f86da388894634a662084ee |
| author | Mårten Nordheim <marten.nordheim@qt.io> |
| committer | Mårten Nordheim <marten.nordheim@qt.io> |
| commit time | Tue, 22 Nov 2022 12:35:31 +0100 |