QGrpcSslCredentials Class

The QGrpcSslCredentials class provides SSL credentials for channel. 更多...

头: #include <QGrpcSslCredentials>
CMake: find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
Since: Qt 6.5
继承: QGrpcChannelCredentials

公共函数

QGrpcSslCredentials (const QSslConfiguration & configuration )
virtual ~QGrpcSslCredentials () override

重实现公共函数

virtual QGrpcCredentialMap channelCredentials () const override

详细描述

成员函数文档编制

[explicit] QGrpcSslCredentials:: QGrpcSslCredentials (const QSslConfiguration & configuration )

Constructs the QGrpcSslCredentials object with SSL configuration .

Fills a stored QGrpcCredentialMap with key sslConfig and QVariant with configuration .

[override virtual] QGrpcSslCredentials:: ~QGrpcSslCredentials ()

销毁 QGrpcSslCredentials 对象。

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

重实现: QGrpcChannelCredentials::channelCredentials() const .

Returns the stored QGrpcCredentialMap.