public override Task <EchoReply> Echo(EchoRequest request, ServerCallContext context) { return(Task.FromResult(new EchoReply { Payload = request.Payload })); }
public EchoResponse Echo(EchoRequest request) { return(base.Channel.Echo(request)); }
public System.IAsyncResult BeginEcho(EchoRequest request, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginEcho(request, callback, asyncState)); }
public override Task <EchoReply> Echo(EchoRequest request, ServerCallContext context) { return(Task.FromResult(new EchoReply { Message = "Hi " + request.Name })); }