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)
qmake: QT += 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.

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