public virtual grpc::AsyncUnaryCall <global::CalculatorService.Result> AddAsync(global::CalculatorService.InputData request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_Add, null, options, request)); }
public virtual global::CalculatorService.Result Add(global::CalculatorService.InputData request, grpc::CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_Add, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::CalculatorService.Result> AddAsync(global::CalculatorService.InputData request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return(AddAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
/// <summary> /// Sends a greeting /// </summary> /// <param name="request">The request received from the client.</param> /// <param name="context">The context of the server-side call handler being invoked.</param> /// <returns>The response to send back to the client (wrapped by a task).</returns> public virtual global::System.Threading.Tasks.Task <global::CalculatorService.Result> Add(global::CalculatorService.InputData request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }