Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Multiple listeners dispatch - How to handle URL variables?

$
0
0
Hi and thanks for the reply,

The first listener would be:
http_listener listener1(web::http::uri_builder(m_uri).append_path(U("users")).to_uri());

what would the url for the second case be? Would:
http_listener listener1(web::http::uri_builder(m_uri).append_path(U("users/1")).to_uri());
match /users/2 ?

Looking at the test case you mentioned it does not test this kind of scenario, rather it uses static urls.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>