目前我正在将 Qt 代码移植到 C 中。
Qt代码:
QNetworkAccessManager *manager = new QNetworkAccessManager;
QByteArray data;
QNetworkRequest request;
mainReply = manager->post(request, data); //What is the equivalent in libcurl?
connect(mainReply, SIGNAL(finished()), this, SLOT(get_imghttpFinished()));
我想使用 libcurl 将相同的代码移植到 C 中。谁能建议“manager-> post”的等效功能?