On this page

QtGrpc::RpcDescriptor Struct

struct QtGrpc::RpcDescriptor

Describes a gRPC method with its service name, method name, and RPC type. More...

Header: #include <QtGrpcNamespace>
CMake: find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
Since: Qt 6.11

Public Variables

const QLatin1StringView method
const QLatin1StringView service
const QtGrpc::RpcType type

Detailed Description

The RpcDescriptor struct holds identifying information about a gRPC method used to initiate and describe RPC calls. It allows QtGrpc to associate each operation with its service, method, and communication pattern.

See also QtGrpc::RpcType.

Member Variable Documentation

const QLatin1StringView RpcDescriptor::method

The name of the gRPC method within the service.

const QLatin1StringView RpcDescriptor::service

The name of the gRPC service this method belongs to.

const QtGrpc::RpcType RpcDescriptor::type

The type of RPC, as defined by QtGrpc::RpcType.

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