Hi paulsc,
Yes we don't have any ability with the library to add URIs for listening to an http_listener after it is constructed. However there isn't any reason why you can't dynamically construct an http_listener with a URI you get at runtime from some location like a database. Just do something like the following:
Yes we don't have any ability with the library to add URIs for listening to an http_listener after it is constructed. However there isn't any reason why you can't dynamically construct an http_listener with a URI you get at runtime from some location like a database. Just do something like the following:
const auto &uriToListen = GetUriFromDatabase();
http_listener listener(uriToListen);
...
Steve