HttpRequest (in dart:html) has an abort() method There is a request to add a feature to the http package to support timeout. This can be done with dart:html, but not dart:io