MCPcopy Create free account
hub / github.com/QNapi/qnapi / request

Method request

libqnapi/src/utils/syncxmlrpc.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17SyncXmlRpc::SyncXmlRpc(const QUrl &endPoint) : rpc(endPoint) {}
18
19bool SyncXmlRpc::request(const QString &method, const QVariantList &args) {
20 rpc.call(method, args, this, SLOT(whenResponse(QVariant &)), this,
21 SLOT(whenFault(int, const QString &)));
22 loop.exec();
23 return result;
24}
25
26QVariant SyncXmlRpc::getResponse() const { return resp; }
27

Callers 4

lookForSubtitlesMethod · 0.45
downloadMethod · 0.45
loginMethod · 0.45
logoutMethod · 0.45

Calls 1

execMethod · 0.45

Tested by

no test coverage detected