QGrpcBidirStream Class

The QGrpcBidirStream class provides the interface to access the bidirectional gRPC stream functionality from gRPC client side. 更多...

头: #include <QGrpcBidirStream>
CMake: find_package(Qt6 REQUIRED COMPONENTS Grpc)
target_link_libraries(mytarget PRIVATE Qt6::Grpc)
Since: Qt 6.7
继承: QGrpcOperation
状态: 技术预览

公共函数

virtual ~QGrpcBidirStream () override
void sendMessage (const T & message )

信号

void messageReceived ()

详细描述

成员函数文档编制

[override virtual noexcept] QGrpcBidirStream:: ~QGrpcBidirStream ()

销毁 QGrpcBidirStream 对象。

[signal] void QGrpcBidirStream:: messageReceived ()

The signal is emitted when the stream receives an updated value from server.

template <typename T> void QGrpcBidirStream:: sendMessage (const T & message )

Serializes message and sends it to the server.