Http server: add options to ws https to redirect all requests to a given url.
This commit is contained in:
5
ws/ws.h
5
ws/ws.h
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user