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
* Certificate, Private key and CA certificates to use for SSL. Default `null`.
750
+
*/
751
+
pfx?: string|Buffer;
752
+
/**
753
+
* Private key to use for SSL. Default `null`.
754
+
*/
755
+
key?: string|Buffer|string[]|Buffer[];
756
+
/**
757
+
* A string of passphrase for the private key or pfx. Default `null`.
758
+
*/
759
+
passphrase?: string;
760
+
/**
761
+
* Public x509 certificate to use. Default `null`.
762
+
*/
763
+
cert?: string|Buffer|string[]|Buffer[];
764
+
/**
765
+
* A string, `Buffer`, array of strings, or array of `Buffer`s of trusted certificates in PEM format. If this is omitted several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections.
766
+
*/
767
+
ca?: string|Buffer|string[]|Buffer[];
768
+
/**
769
+
* A string describing the ciphers to use or exclude. Consult https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT for details on the format.
770
+
*/
771
+
ciphers?: string;
772
+
/**
773
+
* If `true`, the server certificate is verified against the list of supplied CAs. An `'error'` event is emitted if verification fails. Verification happens at the connection level, before the HTTP request is sent. Default `true`.
774
+
*/
775
+
rejectUnauthorized?: boolean;
776
+
/**
777
+
* Servername for SNI (Server Name Indication) TLS extension.
778
+
*/
779
+
servername?: string;
780
+
/**
781
+
* The SSL method to use, e.g. `SSLv3_method` to force SSL version 3. The possible values depend on your installation of OpenSSL and are defined in the constant SSL_METHODS.
* If `true`, the `object`'s non-enumerable symbols and properties will be included in the formatted result. Defaults to `false`.
2183
+
*/
2130
2184
showHidden?: boolean;
2185
+
/**
2186
+
* Specifies the number of times to recurse while formatting the `object`. This is useful for inspecting large complicated objects. Defaults to `2`. To make it recurse indefinitely pass `null`.
2187
+
*/
2131
2188
depth?: number|null;
2189
+
/**
2190
+
* If `true`, the output will be styled with ANSI color codes. Defaults to `false`. Colors are customizable, see "Customizing util.inspect colors".
2191
+
*/
2132
2192
colors?: boolean;
2193
+
/**
2194
+
* If `false`, then custom `inspect(depth, opts)` functions exported on the object being inspected will not be called. Defaults to `true`.
* Inherit the prototype methods from one constructor into another. The prototype of constructor will be set to a new object created from superConstructor.
0 commit comments