QGrpcChannel Class
The QGrpcChannel class is a gRPC-cpp native api implementation of QAbstractGrpcChannel interface. More...
Header: | #include <QGrpcChannel> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Grpc) target_link_libraries(mytarget PRIVATE Qt6::Grpc) |
Since: | Qt 6.5 |
Inherits: | QAbstractGrpcChannel |
Public Functions
QGrpcChannel(const QUrl &url, QGrpcChannel::NativeGrpcChannelCredentials credentialsType, const QStringList &credentialsList) |
Detailed Description
QGrpcChannel accepts the same grpc::ChannelCredentials type that is required by native-api grpc::CreateChannel.
See also gRPC ChannelCredentials.
Member Function Documentation
[explicit]
QGrpcChannel::QGrpcChannel(const QUrl &url, QGrpcChannel::NativeGrpcChannelCredentials credentialsType, const QStringList &credentialsList)
QGrpcChannel constructs QGrpcChannel with url, credentialsType and credentialsList object.