Qt GRPC QML Types

该模块在 Qt 6.7 中引入。

Qt GRPC Quick 模块在 QML 中提供了Qt GRPC 功能。

可在 .qml 文件中使用以下导入语句将 QML 类型导入应用程序:

import QtGrpc

QML 类型

GrpcCallOptions

用于设置附加呼叫选项的存储类

GrpcChannelOptions

用于设置附加通道选项的存储类

GrpcHttp2Channel

HTTP/2 QML 通道

GrpcMetadata

在无序多图容器中存储元数据的类

© 2025 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.