add description for 'generateClientId' option to README
This commit is contained in:
parent
38f549a35a
commit
4759ef055f
@ -78,6 +78,7 @@ You can provide config object to `PeerServer` function or specify options for `p
|
||||
| `--sslkey` | `sslkey` | Path to SSL key (string) | No | |
|
||||
| `--sslcert` | `sslcert` | Path to SSL certificate (string) | No | |
|
||||
| `--allow_discovery` | `allow_discovery` | Allow to use `/peers` API method to get an array of ids of all connected clients (boolean) | No | |
|
||||
| | `generateClientId` | A function which generate random client IDs when executes `/id` API method (`() => string`) | No | `uuid/v4` |
|
||||
|
||||
## Using HTTPS
|
||||
Simply pass in PEM-encoded certificate and key.
|
||||
|
Loading…
x
Reference in New Issue
Block a user