QGrpcHttp2Channel Class
The QGrpcHttp2Channel class is an HTTP/2-based of QAbstractGrpcChannel, based on Qt Network HTTP/2 implementation. More...
Header: | #include <QGrpcHttp2Channel> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Grpc) target_link_libraries(mytarget PRIVATE Qt6::Grpc) |
Since: | Qt 6.5 |
Instantiated By: | QQmlGrpcHttp2Channel |
Inherits: | QAbstractGrpcChannel |
Status: | Technical Preview |
Public Functions
QGrpcHttp2Channel(const QGrpcChannelOptions &options) | |
virtual | ~QGrpcHttp2Channel() override |
Detailed Description
Uses QGrpcChannelOptions and QGrpcCallOptions to control the HTTP/2 communication with the server.
Use QGrpcChannelOptions to set the SSL configuration, application-specific HTTP/2 headers, and connection timeouts.
QGrpcCallOptions control channel parameters for the specific unary call or gRPC stream.
See also QGrpcChannelOptions, QGrpcCallOptions, and QSslConfiguration.
Member Function Documentation
[explicit]
QGrpcHttp2Channel::QGrpcHttp2Channel(const QGrpcChannelOptions &options)
Constructs QGrpcHttp2Channel with options.
[override virtual noexcept]
QGrpcHttp2Channel::~QGrpcHttp2Channel()
Destroys the QGrpcHttp2Channel object.
© 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.