public global::helloworld.HelloReply SayHello(global::helloworld.HelloRequest request, CancellationToken token = default(CancellationToken))
            {
                var call = CreateCall(__ServiceName, __Method_SayHello);

                return(Calls.BlockingUnaryCall(call, request, token));
            }
            public Task <global::helloworld.HelloReply> SayHelloAsync(global::helloworld.HelloRequest request, CancellationToken token = default(CancellationToken))
            {
                var call = CreateCall(__ServiceName, __Method_SayHello);

                return(Calls.AsyncUnaryCall(call, request, token));
            }
Beispiel #3
0
 public global::helloworld.HelloReply SayHello(global::helloworld.HelloRequest helloRequest)
 {
     return(dispatch.CallMethod("SayHello", helloRequest, global::helloworld.HelloReply.CreateBuilder()));
 }