[grpc-io] Re: ClientBidiReactor or ClientCallbackReaderWriter

2020-12-16 Thread Christopher Pisz
For some reason, despite my including `/grpc/support/client_callback.h` my compiler doesn't know what ::grpc::ClientCallbackBidiReactor or any other class starting with ClientCallback, is. is there some define you need to get these to show up? On Friday, November 13, 2020 at 1:02:13 PM UTC-5 Do

[grpc-io] Re: ClientBidiReactor or ClientCallbackReaderWriter

2020-11-13 Thread 'Donna Dionne' via grpc.io
You can just create an instance like this: class TestClientBidiReactor : public ClientBidiReactor { public: explicit TestClientBidiReactor(Stub* stub, ClientContext& context, ...) { ...} There is StartRead and StartWrite StartCall will activate the call (so use after Read and Write) You can i