You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am replacing got with undici, I have the following function that registers a client using got.extend, is there a way I can achieve the same using undici.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a function similar to
got.extend
?I am replacing
got
withundici
, I have the following function that registers a client usinggot.extend
, is there a way I can achieve the same usingundici
.I tried creating a new client but
config.base
provides a lot of configurations that I feel do not make sense to write.I have created a gist if further info is required
Beta Was this translation helpful? Give feedback.
All reactions