Example #1
0
 protected override void OnDataRead(long bytesRead)
 {
     // The HTTP/2 flow control window cannot be larger than 2^31-1 which limits bytesRead.
     _context.OnDataRead((int)bytesRead);
     AddAndCheckConsumedBytes(bytesRead);
 }