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

New Post: monitoring page

$
0
0
Hi opreanstefan,

It is a little hard to follow the code here and understand exactly what you are asking for. I don't see the 'Server' class declared anywhere, but the http_listener is stored in a class called 'Monitoring'. What exactly is the purpose of this 'handle_a_request', is it to try and handle just a single HTTP request and not subsequent ones? I don't see why you need to have more request handlers.

In general the way you register handlers with our http_listener for requests is through the http_listener::support(...) APIs. There is one that can be used to handle all request, regardless of HTTP method, and another overload that can be used to register for specific HTTP methods.

Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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