The QGrpcAsyncReply class contains data for asynchronous call of gRPC client API. More...
#include <qgrpcasyncreply.h>
Public Member Functions | |
void | abort () |
Aborts this reply and try to abort call in channel. | |
template<typename Func1 , typename Func2 > | |
void | subscribe (QObject *receiver, Func1 finishCallback, Func2 errorCallback, Qt::ConnectionType type=Qt::AutoConnection) |
Subscribe to QGrpcAsyncReply signals. | |
template<typename Func1 > | |
void | subscribe (QObject *receiver, Func1 finishCallback, Qt::ConnectionType type=Qt::AutoConnection) |
Overloaded QGrpcAsyncReply::subscribe method, to subscribe to finished signal only. | |
Friends | |
class | QAbstractGrpcClient |
The QGrpcAsyncReply class contains data for asynchronous call of gRPC client API.
It's owned by client class, that created it. QGrpcAsyncReply could be used by QAbstractGrpcChannel implementations to control call work flow and abort calls if possible in case if QGrpcAsyncReply::abort method called by library user.