From 45d0baa6b363a49814e47fd8a47fa588ba66f427 Mon Sep 17 00:00:00 2001 From: yionr Date: Fri, 31 Jan 2025 03:45:54 +0800 Subject: [PATCH] chore(docs): split long lines, easier for reading (#6129) Co-authored-by: Jay --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e4c350f..addd098 100644 --- a/README.md +++ b/README.md @@ -531,7 +531,11 @@ These are the available config options for making requests. Only the `url` is re // If both are specified, `socketPath` is used. socketPath: null, // default - // `transport` determines the transport method that will be used to make the request. If defined, it will be used. Otherwise, if `maxRedirects` is 0, the default `http` or `https` library will be used, depending on the protocol specified in `protocol`. Otherwise, the `httpFollow` or `httpsFollow` library will be used, again depending on the protocol, which can handle redirects. + // `transport` determines the transport method that will be used to make the request. + // If defined, it will be used. Otherwise, if `maxRedirects` is 0, + // the default `http` or `https` library will be used, depending on the protocol specified in `protocol`. + // Otherwise, the `httpFollow` or `httpsFollow` library will be used, again depending on the protocol, + // which can handle redirects. transport: undefined, // default // `httpAgent` and `httpsAgent` define a custom agent to be used when performing http