示例#1
0
 public virtual grpc::AsyncUnaryCall <global::GrpcService.Web.Protos.TokenResponse> CreateTokenAsync(global::GrpcService.Web.Protos.TokenRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_CreateToken, null, options, request));
 }
示例#2
0
 public virtual global::GrpcService.Web.Protos.TokenResponse CreateToken(global::GrpcService.Web.Protos.TokenRequest request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_CreateToken, null, options, request));
 }
示例#3
0
 public virtual grpc::AsyncUnaryCall <global::GrpcService.Web.Protos.TokenResponse> CreateTokenAsync(global::GrpcService.Web.Protos.TokenRequest request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(CreateTokenAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
示例#4
0
 public virtual global::System.Threading.Tasks.Task <global::GrpcService.Web.Protos.TokenResponse> CreateToken(global::GrpcService.Web.Protos.TokenRequest request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }