QGrpcChannelCredentials Class
The QGrpcChannelCredentials is the base class for gRPC channel credentials. More...
Header: | #include <QGrpcChannelCredentials> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Grpc) target_link_libraries(mytarget PRIVATE Qt6::Grpc) |
Since: | Qt 6.5 |
Inherited By: |
Public Functions
virtual QGrpcCredentialMap | channelCredentials() const = 0 |
Detailed Description
Channel credentials are used by the channel when establishing an initial connection. For example Ssl credentials or some session tokens. Classes inheriting this class should reimplement QGrpcCredentialMap channelCredentials() const
, that returns session parameters for the specific channel.
Member Function Documentation
[pure virtual]
QGrpcCredentialMap QGrpcChannelCredentials::channelCredentials() const
This pure virtual function shall return a key-value map of session parameters for the specific channel.
This function is called to obtain the QGrpcCredentialMap for the channel.
© 2024 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.