You can use server reflection to query what APIs it supposed.  Its a 
service that needs to be added to your server at the moment, but eventually 
it will be on by default.

On Monday, December 4, 2017 at 4:42:43 AM UTC-8, Robert Bielik wrote:
>
> Hi all,
>
> As an update to a service we had, the signature of an RPC changed, from a 
> non-streamed to a server side streaming RPC like so:
>
> rpc StartProcess(ProcessData) returns (VoidMessage); // Version 1
>
> and now it is:
>
> rpc StartProcess(ProcessData) returns (stream Progress); // Version 2
>
> Is there a way I can on the client side (C++ btw) check to see which 
> signature of the RPC that the server implements ? I imagine that
> if I call the RPC with the wrong signature, I would get a 
> grpc::StatusCode::UNIMPLEMENTED ?
>
> Regards
> /Robert
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/73d62987-b122-49f2-b2d8-8d75bc377125%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to