コード例 #1
0
 public virtual grpc::AsyncUnaryCall <global::Example.AddUserReply> AddUserAsync(global::Example.AddUserArgs request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_AddUser, null, options, request));
 }
コード例 #2
0
 public virtual global::Example.AddUserReply AddUser(global::Example.AddUserArgs request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_AddUser, null, options, request));
 }
コード例 #3
0
 public virtual grpc::AsyncUnaryCall <global::Example.AddUserReply> AddUserAsync(global::Example.AddUserArgs request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(AddUserAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
コード例 #4
0
 public virtual global::System.Threading.Tasks.Task <global::Example.AddUserReply> AddUser(global::Example.AddUserArgs request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }