QGrpcInsecureChannelCredentials Class

The QGrpcInsecureChannelCredentials class is a dummy implementation of QGrpcChannelCredentials . 更多...

頭: #include <QGrpcInsecureChannelCredentials>
CMake: find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
Since: Qt 6.5
繼承: QGrpcChannelCredentials

公共函數

virtual ~QGrpcInsecureChannelCredentials () override

重實現公共函數

virtual QGrpcCredentialMap channelCredentials () const override

詳細描述

It doesn't provide any extra information to the channel. Use it when you don't need any channel credentials.

成員函數文檔編製

[override virtual] QGrpcInsecureChannelCredentials:: ~QGrpcInsecureChannelCredentials ()

銷毀 QGrpcInsecureChannelCredentials 對象。

[override virtual] QGrpcCredentialMap QGrpcInsecureChannelCredentials:: channelCredentials () const

重實現: QGrpcChannelCredentials::channelCredentials() const .

Returns an empty QGrpcCredentialMap.