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.