Skip to content

Commit

Permalink
[DOC] added handshakeFirst tls option
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
aricart committed Apr 8, 2024
1 parent 06d16f8 commit f5ca307
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -810,14 +810,15 @@ The following is the list of connection options and default values.

### TlsOptions

| Option | Default | Description |
| ---------- | ------- | ---------------------------- |
| `ca` | N/A | CA certificate |
| `caFile` | | CA certificate filepath |
| `cert` | N/A | Client certificate |
| `certFile` | N/A | Client certificate file path |
| `key` | N/A | Client key |
| `keyFile` | N/A | Client key file path |
| Option | Default | Description |
| ---------------- | ------- |---------------------------------------------------------------------------------------------------------------------------------|
| `ca` | N/A | CA certificate |
| `caFile` | | CA certificate filepath |
| `cert` | N/A | Client certificate |
| `certFile` | N/A | Client certificate file path |
| `key` | N/A | Client key |
| `keyFile` | N/A | Client key file path |
| `handshakeFirst` | false | Connects to the server directly as TLS rather than upgrade the connection. Note that the server must be configured accordingly. |

In some Node and Deno clients, having the option set to an empty option,
requires the client have a secured connection.
Expand Down

0 comments on commit f5ca307

Please sign in to comment.