Qt GRPC C++ Classes

Qt GRPC 模块支持与服务通信。 gRPC服务进行通信。更多

此模块在 Qt 6.5 中引入。

命名空间

QtGrpc

包含 QtGrpc 库中使用的各种标识符

QAbstractGrpcChannel

实现 gRPC 操作传输层的接口

QGrpcBidiStream

处理双向流 RPC 的入口

QGrpcCallOptions

提供用于微调单个 RPC 的各种选项

QGrpcCallReply

处理单向 RPC 时的访问

QGrpcChannelOptions

提供微调 gRPC 通道的各种选项

QGrpcClientBase

作为生成客户端接口的基础

QGrpcClientStream

处理客户端流 RPC 时的访问权限

QGrpcHttp2Channel

用于 gRPC 通信的 HTTP/2 传输层

QGrpcOperation

从客户端处理 gRPC 通信的常用操作

QGrpcOperationContext

单个 gRPC 操作与通道之间的通信上下文

QGrpcSerializationFormat

持有 protobuf 消息序列化器和相关内容类型后缀

QGrpcServerStream

处理服务器流 RPC 时的访问权限

QGrpcStatus

结合状态代码(StatusCode)和字符串消息

详细说明

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