On the web HttpRequest
supports abort
: https://api.dart.dev/stable/2.8.1/dart-html/HttpRequest/abort.html
We have a proposal for adding abort on the dart:io
HttpClientRequest
: https://dart-review.googlesource.com/c/sdk/+/147339
We need to come up with a design for supporting abort
through the interfaces in this package and validate that we can build it on both dart:html
and dart:io
implementations.
The easiest option might be to add a method on StreamedResponse
. There is some precedent for that with IOStreamedResponse.detachSocket
.
(we need to make sure the differences between these are clearly documented.
I do wonder if we need to consider some sort of support for the more convenient methods than send
though...
cc @kevmoo @jakemac53 @grouma @zichangg @lrhn for thoughts
j0nscalet, liranzairi, vikeychen, mnordine, chandu0101 and 101 more
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4