Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Qt asynchronous HTTP request

QNetworkAccessManager *manager = new QNetworkAccessManager(this);
connect(manager, &QNetworkAccessManager::finished,
        this, &MyClass::replyFinished);

manager->get(QNetworkRequest(QUrl("http://qt-project.org")));
 
PREVIOUS NEXT
Tagged: #Qt #asynchronous #HTTP #request
ADD COMMENT
Topic
Name
4+2 =