We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1097056 commit 3dcb88cCopy full SHA for 3dcb88c
lib/socket.ts
@@ -39,6 +39,10 @@ export interface SocketOptions {
39
40
/**
41
* `http.Agent` to use, defaults to `false` (NodeJS only)
42
+ *
43
+ * Note: the type should be "undefined | http.Agent | https.Agent | false", but this would break browser-only clients.
44
45
+ * @see https://nodejs.org/api/http.html#httprequestoptions-callback
46
*/
47
agent: string | boolean;
48
0 commit comments