Skip to content

Set keep-alive/make it easier to set keep-alive flag in underlying fetch #5

@dlongley

Description

@dlongley

When this library is used in the browser we should be able to set keep-alive:

See: https://fetch.spec.whatwg.org/#requestinit

When creating a request for Fetch, ky takes options here: https://github.com/sindresorhus/ky/blob/v0.27.0/index.js#L184-L190 and passes them here: https://github.com/sindresorhus/ky/blob/v0.27.0/index.js#L232

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