readBody method

  1. @override
Future<Uint8List>? readBody(
  1. HttpRequest req,
  2. int max
)
override

The whole body of req when the server reads it with no Dart stream, else null: Dox reads the stream. For a body over max bytes, give null: Dox reads the stream and answers 413.

Implementation

@override
Future<Uint8List>? readBody(HttpRequest req, int max) => null;