GrpcHttp2Channel QML Type

HTTP/2 QML channel. More...

Import Statement: import QtGrpc
Since: Qt 6.7

Properties

Detailed Description

Implements QQmlAbstractGrpcChannel interface for HTTP/2 channel type. It allows to set QQmlGrpcChannelOptions options required for a channel creation and returns a pointer to the QAbstractGrpcChannel-based object.

Note: You can inherit from QQmlGrpcChannelOptions for importing custom channel in QML.

See also QQmlAbstractGrpcChannel and QGrpcHttp2Channel.

Property Documentation

hostUri : QUrl

Sets a host URL for the channel.

Note: host is REQUIRED property. It must be set for object creation.

See also QGrpcHttp2Channel::hostUri.


options : GrpcChannelOptions

Returns a pointer to the GrpcChannelOptions object.

See also QQmlGrpcChannelOptions.


© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.