[Development] Review request for ArrayBuffer+WebSocket/XHR (a.k.a Introducing protobuf-qml)

Nobuaki Sukegawa nsukeg at gmail.com
Sat Dec 12 12:59:18 CET 2015


Hello Qt team and community,

Could anyone help me with reviews on ArrayBuffer support for QtWebSockets
and QtQuick XMLHttpRequest ?

WebSockets:
https://codereview.qt-project.org/#/c/125712/

XHR:
https://codereview.qt-project.org/#/c/143732/


While I believe these features are generally useful, let me share my
motivation:

I've written Protocol Buffers / gRPC bindings for QtQuick2.
https://github.com/nsuke/protobuf-qml

Main feature of this is to serialize schematized message objects to
ArrayBuffer.

While it works fine for my need (plugging to proprietary RPC stack), I'd
like to share this with others and see what they would do with this.

Unfortunately, currently ArrayBuffer is not that useful out of the box as
is, so it's not going to be much of interest without these features.

You can find working examples of these patches here:

WebSockets
https://github.com/nsuke/protobuf-qml/blob/master/examples/WebSockets/client/client.qml#L105

XHR
https://github.com/nsuke/protobuf-qml/blob/master/examples/XMLHttpRequest/client/XhrClient.qml#L112

Best regards,

Nobuaki Sukegawa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20151212/f720dcd5/attachment.html>


More information about the Development mailing list