Skip to content

#duplex is missing from RequestInit #1483

Open
@erunion

Description

@erunion

The Fetch WG introduced a new duplex property to RequestInit1 back in July that undici is now abiding by when making payload requests with a ReadableStream2. They have added this new duplex property into their own RequestInit types, but as this is now a part of the core fetch specification it should be included here.

https://fetch.spec.whatwg.org/#request-class

Footnotes

  1. https://github.com/microsoft/TypeScript-DOM-lib-generator

  2. https://github.com/nodejs/node/issues/46221

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions