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