30 #include <grpcpp/security/credentials.h>
34 #include "qabstractgrpcchannel.h"
36 namespace QtProtobuf {
38 class QAbstractGrpcCredentials;
39 struct QGrpcChannelPrivate;
56 QGrpcChannel(
const QUrl &name, std::shared_ptr<grpc::ChannelCredentials> credentials);
59 QGrpcStatus call(
const QString &method,
const QString &service,
const QByteArray &args, QByteArray &ret)
override;
62 std::shared_ptr<QAbstractProtobufSerializer> serializer()
const override;
67 std::unique_ptr<QGrpcChannelPrivate> dPtr;
The QAbstractGrpcChannel class is interface that represents common gRPC channel functionality.
Definition: qabstractgrpcchannel.h:52
The QAbstractGrpcClient class is bridge between gRPC clients and channels.
Definition: qabstractgrpcclient.h:67
The QGrpcAsyncReply class contains data for asynchronous call of gRPC client API.
Definition: qgrpcasyncreply.h:47
The QGrpcChannel class is a gRPC-cpp native api implementation of QAbstractGrpcChannel interface.
Definition: qgrpcchannel.h:49
The QGrpcStatus class contains information about last gRPC operation.
Definition: qgrpcstatus.h:58
The QGrpcSubscription class.
Definition: qgrpcsubscription.h:47