QGrpcStream Class
The QGrpcStream class. More...
Header: | #include <QGrpcStream> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Grpc) target_link_libraries(mytarget PRIVATE Qt6::Grpc) |
Since: | Qt 6.5 |
Inherits: | QGrpcOperation |
Public Functions
Reimplemented Public Functions
virtual void | abort() override |
Detailed Description
TODO: Fill this out with more detail later
Member Function Documentation
[override virtual]
void QGrpcStream::abort()
Cancel this stream and try to abort any call active on any channel in the stream.
QByteArray 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.
QString QGrpcStream::method() const
Returns the method for this stream.