public virtual grpc::AsyncServerStreamingCall <global::Greet.GreetManyTimesResponse> GreetManyTimes(global::Greet.GreetManyTimesRequest request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(GreetManyTimes(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
 public virtual grpc::AsyncServerStreamingCall <global::Greet.GreetManyTimesResponse> GreetManyTimes(global::Greet.GreetManyTimesRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncServerStreamingCall(__Method_GreetManyTimes, null, options, request));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Server streaming
 /// </summary>
 /// <param name="request">The request received from the client.</param>
 /// <param name="responseStream">Used for sending responses back to the client.</param>
 /// <param name="context">The context of the server-side call handler being invoked.</param>
 /// <returns>A task indicating completion of the handler.</returns>
 public virtual global::System.Threading.Tasks.Task GreetManyTimes(global::Greet.GreetManyTimesRequest request, grpc::IServerStreamWriter <global::Greet.GreetManyTimesResponse> responseStream, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }