History

Add ResourceRequestObserver JSDoc

David Rowe committed 7 years ago

Commit d587f121 parent 9a704162 files · +40 −1Browse files

Showing the changes to libraries/shared/src/ResourceRequestObserver.cpp (1 of 2 files). Show all

Unified · Split

libraries/shared/src/ResourceRequestObserver.cpp+7−0
@@ -16,6 +16,13 @@ · 15 unmodified lines
1616 #include <QString>
1717 #include <QUrl>
1818
19+/**jsdoc
20+ * Information about a resource request.
21+ * @typedef {object} ResourceRequestObserver.ResourceRequest
22+ * @property {string} url - The URL of the resource request.
23+ * @property {number} callerId - An ID identifying the request.
24+ * @property {string} extra - Extra information about the request.
25+ */
1926 void ResourceRequestObserver::update(const QUrl& requestUrl,
2027 const qint64 callerId,
2128 const QString& extra) {