QGrpcStream Class▲
-
Header: QGrpcStream
-
Since: Qt 6.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
-
Inherits: QGrpcOperation
I. Detailed Description▲
II. Member Function Documentation▲
II-1. [override virtual] QGrpcStream::~QGrpcStream()▲
Destroys the QGrpcStream object.
II-2. [override virtual] void QGrpcStream::abort()▲
Cancel this stream and try to abort any call active on any channel in the stream.
II-3. QByteArrayView QGrpcStream::arg() const▲
Returns serialized arguments for this stream.
II-4. 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.
II-5. void QGrpcStream::messageReceived()▲
The signal is emitted when the stream receives an updated value from server.
II-6. QLatin1StringView QGrpcStream::method() const▲
Returns the method for this stream.