After enclosing the call to the function in a try-catch block, this was the output:
In an Exception:
Error Code: generic:336134278
Error Phrase: Error code in handle_handshake is
The main function:int main()
{
try{
HTTPStreamingAsync().wait();
}
catch(http_exception e)
{
wcout << "In an Exception: " << endl;
wcout << "Error Code: " << e.error_code() << endl << "Error Phrase: " << e.what() << endl;
return -1;
}
return 0;
}