Http server: add options to ws https to redirect all requests to a given url.

This commit is contained in:
Benjamin Sergeant
2019-09-26 09:10:30 -07:00
parent 3cd7c0194f
commit 8a662b35e1
6 changed files with 40 additions and 5 deletions

View File

@ -108,7 +108,10 @@ namespace ix
bool verbose,
const std::string& appsConfigPath);
int ws_httpd_main(int port, const std::string& hostname);
int ws_httpd_main(int port,
const std::string& hostname,
bool redirect,
const std::string& redirectUrl);
int ws_autobahn_main(const std::string& url, bool quiet);