1 #ifndef UPNPSUBSCRIPTION_H
2 #define UPNPSUBSCRIPTION_H
17 {
return QStringList(
"/Subscriptions" ); }
20 std::chrono::seconds Subscribe(
const QString &usn,
const QUrl &url,
const QString &path);
21 void Unsubscribe(
const QString &usn);
22 std::chrono::seconds Renew(
const QString &usn);
23 void Remove(
const QString &usn);
27 static bool SendUnsubscribeRequest(
const QString &usn,
const QUrl &url,
28 const QString &path,
const QString &uuid);
29 static std::chrono::seconds SendSubscribeRequest(
const QString &callback,
30 const QString &usn,
const QUrl &url,
31 const QString &path,
const QString &uuidin,
39 #endif // UPNPSUBSCRIPTION_H