Skip to content

HttpRequest.request doesn't give access to the HttpRequest until it completes, making it difficult to cancel #23935

@alan-knight

Description

@alan-knight

Related to #22265 but doesn't need such a general solution as canceling the futures. It would be better if the method would just return the HttpRequest or the future would complete immediately and then have a Future that you could wait on for the response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.library-htmlweb-librariesIssues impacting dart:html, etc., libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions