Hi,
web::http::client::http_client client("http://10.18.26.63:8080");
client.request(web::http::methods::GET, ("/wm/device/")).then([=](pplx::task<web::http::http_response> task)
{
...
}
I have used the above code to establish an request at 10.18.26.63:8080 . If this server is running then it is working fine . But when the server is not running at this URL, The program is getting terminated abruptly with : error message as " Aborted(Core Dumped) ". How can i handle this ?
web::http::client::http_client client("http://10.18.26.63:8080");
client.request(web::http::methods::GET, ("/wm/device/")).then([=](pplx::task<web::http::http_response> task)
{
...
}
I have used the above code to establish an request at 10.18.26.63:8080 . If this server is running then it is working fine . But when the server is not running at this URL, The program is getting terminated abruptly with : error message as " Aborted(Core Dumped) ". How can i handle this ?