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

New Post: HTTPS on Linux

$
0
0
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;
}

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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