Skip to content

Commit

Permalink
shvbroker::AppCliOptions symbolic port names updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Fanda Vacek committed Jan 3, 2023
1 parent 62880f6 commit aff0758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libshvbroker/src/appclioptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ AppCliOptions::AppCliOptions()
//addOption("server.websocket.enabled").setType(cp::RpcValue::Type::Bool).setNames("--ws", "--server-ws-enabled").setComment("Server web socket enabled").setDefaultValue(3777);
#ifdef WITH_SHV_WEBSOCKETS
addOption("server.websocket.port").setType(cp::RpcValue::Type::Int).setNames("--server-ws-port")
.setComment("Web socket server port, set this option to enable websocket server").setDefaultValue(3777);
.setComment("Web socket server port, set this option to enable websocket server").setDefaultValue(cp::IRpcConnection::DEFAULT_RPC_BROKER_WEB_SOCKET_PORT_NONSECURED);
addOption("server.websocket.sslport").setType(cp::RpcValue::Type::Int).setNames("--server-wss-port")
.setComment("Secure web socket server port, set this option to enable secure websocket server").setDefaultValue(3778);
.setComment("Secure web socket server port, set this option to enable secure websocket server").setDefaultValue(cp::IRpcConnection::DEFAULT_RPC_BROKER_WEB_SOCKET_PORT_SECURED);
#endif
addOption("server.ssl.key").setType(cp::RpcValue::Type::String).setNames("--server-ssl-key")
.setComment("SSL key file").setDefaultValue("wss.key");
Expand Down

0 comments on commit aff0758

Please sign in to comment.