<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QNetworkAccessManager asynchronous API]]></title><description><![CDATA[<p dir="auto">As Qt document says:</p>
<p dir="auto">@<br />
QNetworkAccessManager <em>manager = new QNetworkAccessManager(this);<br />
connect(manager, SIGNAL(finished(QNetworkReply</em>)),<br />
this, SLOT(replyFinished(QNetworkReply*)));</p>
<p dir="auto">manager-&gt;get(QNetworkRequest(QUrl("<a href="http://qt.nokia.com" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt.nokia.com</a>")));<br />
@</p>
<p dir="auto">bq. QNetworkAccessManager has an asynchronous API. When the replyFinished slot above is called, the parameter it takes is the QNetworkReply object containing the downloaded data as well as meta-data (headers, etc.).</p>
<p dir="auto">I'm a little curious about the <em>implementation</em> of this asynchronous API.<br />
Of course, Qt source code will give me the answer, but it's more convenience to get some basic explanation here :)</p>
]]></description><link>https://forum.qt.io/topic/8628/qnetworkaccessmanager-asynchronous-api</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 02:15:36 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/8628.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Aug 2011 09:15:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QNetworkAccessManager asynchronous API on Tue, 16 Aug 2011 09:44:11 GMT]]></title><description><![CDATA[<p dir="auto">You answer is pretty clear, thanks.</p>
<p dir="auto">So, it's based on select(2) sys call.<br />
I just want to make sure. The link is very informative.</p>
]]></description><link>https://forum.qt.io/post/105341</link><guid isPermaLink="true">https://forum.qt.io/post/105341</guid><dc:creator><![CDATA[leonidwang]]></dc:creator><pubDate>Tue, 16 Aug 2011 09:44:11 GMT</pubDate></item><item><title><![CDATA[Reply to QNetworkAccessManager asynchronous API on Tue, 16 Aug 2011 09:22:30 GMT]]></title><description><![CDATA[<p dir="auto">What do you mean exactly? QNAM is built on top of QTcpSocket, which in turn has its async API (readyRead(), disconnected(), error(), etc. signals). So it's something like</p>
<p dir="auto">QTcpSocket emits a signal -&gt; some slot we don't know -&gt; (read and process the data) -&gt; emit QNetworkReply / QNetworkAccessManager signals.</p>
<p dir="auto">The QTcpSocket async is built on top of an ordinary select(2). I briefly talked about this in this wiki page: <a href="http://developer.qt.nokia.com/wiki/Threads_Events_QObjects" target="_blank" rel="noopener noreferrer nofollow ugc">http://developer.qt.nokia.com/wiki/Threads_Events_QObjects</a> .</p>
]]></description><link>https://forum.qt.io/post/105338</link><guid isPermaLink="true">https://forum.qt.io/post/105338</guid><dc:creator><![CDATA[dangelog]]></dc:creator><pubDate>Tue, 16 Aug 2011 09:22:30 GMT</pubDate></item></channel></rss>