I have a webpage whose contents I would like to download in wxString. For example, let's say the page is like this:
http://www.example.com/mypage.html
And wxString will contain the HTML source. In some other languages, say PHP, for example, I would write something like this:
$html = file_get_contents('http://www.example.com/mypage.html');
I assume this is not a single-line font in wxWidgets, and I looked into the wxHTTP class, but I wonder if there is some simple wrapper class that does the work with minimal code?
source
share