本页内容

QGrpcCallReply Class

QGrpcCallReply 类提供了处理一元 RPC 的功能。更多内容...

头文件: #include <QGrpcCallReply>
CMake: find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
自: Qt 6.5
继承自: QGrpcOperation

公共函数

virtual ~QGrpcCallReply() override

详细描述

QGrpcCallReply 类提供了处理一元远程过程调用(RPC)的接口,这是四种 gRPC™服务方法之一。

有关高级概述,请参阅《Qt GRPC 客户端指南》。

注意:用户 有责任管理由Client 接口返回的唯一 RPC 处理程序,确保它们至少在发出finished 信号之前一直存在。收到此信号后,可以安全地重新分配或销毁该处理程序。

成员函数文档

[override virtual noexcept] QGrpcCallReply::~QGrpcCallReply()

销毁“QGrpcCallReply ”。

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