Skip to content

discussions Search Results · user:sindresorhus language:swift archived:false is:public language:Swift language:HTML

265 results  (79 ms)

265 results

insindresorhus (press backspace or delete to remove)
Some qualifiers in your query (language, archived) are not supported when searching discussions. Try searching for repositories instead?

I m using Got in stream mode with retry enabled. I m looking for an event that only fires when the stream finishes. However, if I understand the code correctly, both end and close will be emitted on a ...

I m getting Jest warning when executing one of my tests that it detected an open handle: Jest has detected the following 1 open handle potentially keeping Jest from exiting: ● JSSTREAM 3 | ...

Is it possible to use autoSelectFamily from socket.connect(options[, connectListener]) of Node.js 18 and later to check if a development server is running or not, when the hostname is localhost and you ...

New got user here. This is a simple script to test the retry functionality of the got library. The code works and it retries if you add an invalid url (I m using an invalid url for test), but it won t ...

Vercel has the maximum payload size for the request body or the response body of a Serverless Function is 4.5 MB. So anytime this function is serving a file larger than 4.5 MB, I get 413: FUNCTION_PAYLOAD_TOO_LARGE ...

Hi, I just wanted to mention that in my existing project, I tried to follow the following example and it didn t work for me in my case. https://github.com/sindresorhus/got/blob/main/documentation/9-hooks.md#beforerequest ...

https.get(url, { headers, timeout, agent: false }, res = { const cert = res.connection.getPeerCertificate() const protocol = res.connection.getProtocol() const valid = res.socket.authorized const ...

Hi, is there a way to use the package to send request using NTLM Authentication (username password) Thanks in advance.

Hi I am using got library and facing some issue. We are getting socket hangup after a time of 500ms. Do we know what can cause this behavior. The application logs show request leaving client service but ...

What problem are you trying to solve? I want to define a got instance where requests are throttled (i.e. 30 requests per minutes). Currently I can achieve this using p-throttle to wrap each simple got ...