Ejemplo n.º 1
0
 public override Task <ByteReplay> BigByteTest(ByteRequest request, ServerCallContext context)
 {
     return(Task.FromResult(new ByteReplay {
         Value = ByteString.CopyFrom(new byte[100_000_000])
Ejemplo n.º 2
0
 public override Task <ByteReplay> ByteTest(ByteRequest request, ServerCallContext context)
 {
     return(Task.FromResult(new ByteReplay {
         Value = ByteString.CopyFrom(BitConverter.GetBytes(1991))
     }));
 }