GrpcHttp2Channel QML Type
HTTP/2 QML チャネル。詳細...
| Import Statement: | import QtGrpc |
| Since: | Qt 6.7 |
| In C++: | QGrpcHttp2Channel |
プロパティ
詳細な説明
HTTP/2 チャネルタイプ用の `QAbstractGrpcChannel ` インターフェースを実装します。これにより、チャネル作成に必要な `QGrpcChannelOptions ` オプションを設定でき、`QAbstractGrpcChannel` ベースのオブジェクトへのポインタを返します。
注: QMLでカスタムチャネルをインポートするには、QGrpcChannelOptions を継承することができます 。
QGrpcHttp2Channelも参照してください 。
プロパティのドキュメント
hostUri : url
チャンネルのホストURL を設定します。
注:host は REQUIRED のプロパティです。オブジェクトの作成時には、これを設定する必要があります。
「QGrpcHttp2Channel::hostUri」も参照してください 。
options : GrpcChannelOptions
GrpcChannelOptions オブジェクトへのポインタを返します。
「QGrpcChannelOptions」も参照してください 。
© 2026 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.