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
/** @deprecated unsupported requestTimeout, use headersTimeout & bodyTimeout instead */
41
41
requestTimeout?: never;
42
-
/** TODO */
42
+
/** The timeout for establishing a socket connection, in milliseconds. Use `0` to disable it entirely. Default: `10e3` milliseconds (10s). */
43
43
connectTimeout?: number;
44
44
/** The timeout after which a request will time out, in milliseconds. Monitors time between receiving body data. Use `0` to disable it entirely. Default: `300e3` milliseconds (300s). */
/** A number of milliseconds subtracted from server *keep-alive* hints when overriding `idleTimeout` to account for timing inaccuracies caused by e.g. transport latency. Default: `1e3` milliseconds (1s). */
57
57
keepAliveTimeoutThreshold?: number;
58
-
/** TODO */
58
+
/** An IPC endpoint, either a Unix domain socket or Windows named pipe. Default: `null`. */
59
59
socketPath?: string;
60
60
/** The amount of concurrent requests to be sent over the single TCP/TLS connection according to [RFC7230](https://tools.ietf.org/html/rfc7230#section-6.3.2). Default: `1`. */
61
61
pipelining?: number;
62
62
/** @deprecated use the connect option instead */
63
63
tls?: never;
64
64
/** If `true`, an error is thrown when the request content-length header doesn't match the length of the request body. Default: `true`. */
65
65
strictContentLength?: boolean;
66
-
/** TODO */
66
+
/** Maximum number of TLS cached sessions used by the built-in connector. Use `0` to disable TLS session caching. Default: `100`. */
67
67
maxCachedSessions?: number;
68
-
/** TODO */
68
+
/** Connector options passed to `buildConnector`, or a custom connector function. Default: `null`. */
/** The amount of time, in milliseconds, the parser will wait to receive the complete HTTP headers (Node 14 and above only). Default: `300e3` milliseconds (300s). */
34
34
headersTimeout?: number;
35
-
/** TODO */
35
+
/** The timeout for establishing a socket connection, in milliseconds. Use `0` to disable it entirely. Default: `10e3` milliseconds (10s). */
36
36
connectTimeout?: number;
37
37
/** The timeout after which a request will time out, in milliseconds. Monitors time between receiving body data. Use `0` to disable it entirely. Default: `300e3` milliseconds (300s). */
/** A number of milliseconds subtracted from server *keep-alive* hints when overriding `idleTimeout` to account for timing inaccuracies caused by e.g. transport latency. Default: `1e3` milliseconds (1s). */
44
44
keepAliveTimeoutThreshold?: number;
45
-
/** TODO */
45
+
/** An IPC endpoint, either a Unix domain socket or Windows named pipe. Default: `null`. */
46
46
socketPath?: string;
47
47
/** The amount of concurrent requests to be sent over the single TCP/TLS connection according to [RFC7230](https://tools.ietf.org/html/rfc7230#section-6.3.2). Default: `1`. */
48
48
pipelining?: number;
49
49
/** If `true`, an error is thrown when the request content-length header doesn't match the length of the request body. Default: `true`. */
50
50
strictContentLength?: boolean;
51
-
/** TODO */
51
+
/** Maximum number of TLS cached sessions used by the built-in connector. Use `0` to disable TLS session caching. Default: `100`. */
52
52
maxCachedSessions?: number;
53
-
/** TODO */
53
+
/** Connector options passed to `buildConnector`, or a custom connector function. Default: `null`. */
0 commit comments