コード例 #1
0
 public virtual global::System.Threading.Tasks.Task LotsOfReplies(global::GrpcAuthor.HelloRequest request, grpc::IServerStreamWriter <global::GrpcAuthor.HelloReply> responseStream, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
コード例 #2
0
 /// <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::GrpcAuthor.HelloReply> SayHello(global::GrpcAuthor.HelloRequest request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }