Merge pull request #1 from yang-g/c++api

C++api
pull/501/head
Craig Tiller 10 years ago
commit 20781ccf54
  1. 2
      include/grpc++/stream.h

@ -85,7 +85,7 @@ class ClientReader final : public ClientStreamingInterface,
public ReaderInterface<R> { public ReaderInterface<R> {
public: public:
// Blocking create a stream and write the first request out. // Blocking create a stream and write the first request out.
explicit ClientReader(ChannelInterface *channel, const RpcMethod &method, ClientReader(ChannelInterface *channel, const RpcMethod &method,
ClientContext *context, ClientContext *context,
const google::protobuf::Message &request) const google::protobuf::Message &request)
: call_(channel->CreateCall(method, context, &cq_)) { : call_(channel->CreateCall(method, context, &cq_)) {

Loading…
Cancel
Save