GrpcCallOptions QML Type

GrpcCallOptions 是一个用于设置附加呼叫选项的存储类。更多

Import Statement: import QtGrpc
Since: Qt 6.7
In C++: QGrpcCallOptions

属性

详细说明

提供了一组属性,用于访问通道与服务通信时使用的调用选项。 gRPC通道用于与服务通信的调用选项。

另请参阅 QGrpcCallOptions

属性文档

deadlineTimeout : int

为调用设置截止时间值。

另请参阅 QGrpcCallOptions::deadlineTimeout


metadata : GrpcMetadata

为调用设置元数据指针。

另请参阅 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.