Skip to content

Commit f5a1ec8

Browse files
naoki-sandarrachequesne
authored andcommitted
[docs] Improve description accuracy of pfx option (#597)
Reference: https://nodejs.org/docs/latest-v6.x/api/tls.html#tls_tls_createsecurecontext_options
1 parent 33e0ba4 commit f5a1ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Exposed as `eio` in the browser standalone build.
213213
try websocket. A connection attempt following a transport error will use the
214214
normal upgrade process. It is recommended you turn this on only when using
215215
SSL/TLS connections, or if you know that your network does not block websockets.
216-
- `pfx` (`String`): Certificate, Private key and CA certificates to use for SSL. Can be used in Node.js client environment to manually specify certificate information.
216+
- `pfx` (`String`|`Buffer`): Certificate, Private key and CA certificates to use for SSL. Can be used in Node.js client environment to manually specify certificate information.
217217
- `key` (`String`): Private key to use for SSL. Can be used in Node.js client environment to manually specify certificate information.
218218
- `passphrase` (`String`): A string of passphrase for the private key or pfx. Can be used in Node.js client environment to manually specify certificate information.
219219
- `cert` (`String`): Public x509 certificate to use. Can be used in Node.js client environment to manually specify certificate information.

0 commit comments

Comments
 (0)