Add --tls option to pass to ws server command, to enable/disable tls

This commit is contained in:
Benjamin Sergeant
2019-10-01 13:54:46 -07:00
parent afed387bcf
commit d6542383ed
3 changed files with 10 additions and 1 deletions

View File

@ -102,6 +102,9 @@ int main(int argc, char** argv)
app->add_option("--ciphers",
tlsOptions.ciphers,
"A (comma/space/colon) separated list of ciphers to use for TLS");
app->add_flag("--tls",
tlsOptions.tls,
"Enable TLS");
};
app.add_flag("--version", version, "Connection url");