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.