Пример #1
0
 public static AsyncUnaryCall <HostInfo> GetInfoAsync(
     this Host.HostClient client,
     CancellationToken cancellationToken = default)
 {
     return(client.GetInfoAsync(new Empty(), Metadata.Empty, null, cancellationToken));
 }
Пример #2
0
 public AsyncUnaryCall <HostInfo> GetInfoAsync(CancellationToken cancellationToken = default)
 {
     return(_client.GetInfoAsync(cancellationToken));
 }