got-fetch icon indicating copy to clipboard operation
got-fetch copied to clipboard

Support for other of got's init flags.

Open mctrafik opened this issue 4 months ago • 0 comments

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,
}

mctrafik avatar Feb 12 '24 11:02 mctrafik