Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Support for other of got's init flags. #415

@mctrafik

Description

@mctrafik

This is a feature request to have a global or context way to pass in additional parameters.

I.e. node already has fetch, so this package's only selling point is extra features that got provides.

I.e. I would like to be able to set these flags somehow:

const params = { 
    http2: true,
    https: {
      rejectUnauthorized: false,
    },
    enableUnixSockets: true,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions