QtGrpc::RpcDescriptor Struct
struct QtGrpc::RpcDescriptorDescribes 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
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.