/// <summary> /// Get the value of a key. /// </summary> public virtual AsyncUnaryCall <global::GrpcDemo.ServiceValue> GetKeyValueAsync(global::GrpcDemo.ServiceKey request, CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_GetKeyValue, null, options, request)); }
/// <summary> /// Get the value of a key. /// </summary> public virtual global::GrpcDemo.ServiceValue GetKeyValue(global::GrpcDemo.ServiceKey request, CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_GetKeyValue, null, options, request)); }
/// <summary> /// Get the value of a key. /// </summary> public virtual AsyncUnaryCall <global::GrpcDemo.ServiceValue> GetKeyValueAsync(global::GrpcDemo.ServiceKey request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetKeyValueAsync(request, new CallOptions(headers, deadline, cancellationToken))); }
/// <summary> /// Get the value of a key. /// </summary> public virtual global::System.Threading.Tasks.Task <global::GrpcDemo.ServiceValue> GetKeyValue(global::GrpcDemo.ServiceKey request, ServerCallContext context) { throw new RpcException(new Status(StatusCode.Unimplemented, "")); }