Skip to content

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

Open
@alan-knight

Description

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

Assignees

No one assigned

    Labels

    area-webUse area-web for Dart web related issues, including the DDC and dart2js compilers 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