high-level body methods on dart:io's HttpRequest #5040
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-duplicate
Closed in favor of an existing report
library-io
This issue was originally filed by [email protected]
It would be convenient to have high-level methods on HttpRequest for accessing the request body. For example
Future<String> textBody()
andFuture<List<int>> binaryBody()
This would save server-side Dart developers from rewriting the same InputStream code repeatedly. Third parties could do this in a library, but it seems more natural as a method on the request.The text was updated successfully, but these errors were encountered: