The QGrpcStream class implements logic to handle stream communication in the Grpc channel. More...
|CMake:|| find_package(Qt6 REQUIRED COMPONENTS Grpc) |
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
|void||handler(const QByteArray &data)|
|virtual void||abort() override|
Member Function Documentation
Destroys the QGrpcStream object.
Cancel this stream and try to abort any call active on any channel in the stream.
QByteArrayView QGrpcStream::arg() const
Returns serialized arguments for this stream.
void QGrpcStream::handler(const QByteArray &data)
Invokes all handler methods assigned to this stream with data.
Should be used by QAbstractGrpcChannel implementations, to update data in a stream and notify clients about stream updates.
The signal is emitted when the stream receives an updated value from server.
QLatin1StringView QGrpcStream::method() const
Returns the method for this stream.
© 2023 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.