diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2018-04-14 03:00:15 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2018-04-14 03:00:15 +0200 |
commit | 2e34de4621f7c3e22b259381eaec4d706c735551 (patch) | |
tree | 710ef3934dd1c60c1d23e0e231ddba2e8a3a791c | |
parent | 32912fdcf35bc9f9e14a65d9e8019798fb7bb316 (diff) | |
parent | 0d845e00a000f376101165ec9a5c9096030db25c (diff) |
Merge remote-tracking branch 'origin/5.11' into dev
Change-Id: I1336416b625061d2fd5cffbb0de480bc761fdb42
-rw-r--r-- | src/oauth/qabstractoauth2.cpp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/oauth/qabstractoauth2.cpp b/src/oauth/qabstractoauth2.cpp index 1f7f6ee..a3cbc04 100644 --- a/src/oauth/qabstractoauth2.cpp +++ b/src/oauth/qabstractoauth2.cpp @@ -271,6 +271,18 @@ QNetworkReply *QAbstractOAuth2::post(const QUrl &url, const QVariantMap ¶met return post(url, data); } +/*! + \since 5.10 + + \overload + + Sends an authenticated POST request and returns a new + QNetworkReply. The \a url and \a data are used to create + the request. + + \sa post(), {https://tools.ietf.org/html/rfc2616#section-9.6} + {Hypertext Transfer Protocol -- HTTP/1.1: POST} +*/ QNetworkReply *QAbstractOAuth2::post(const QUrl &url, const QByteArray &data) { Q_D(QAbstractOAuth2); @@ -279,6 +291,18 @@ QNetworkReply *QAbstractOAuth2::post(const QUrl &url, const QByteArray &data) return reply; } +/*! + \since 5.10 + + \overload + + Sends an authenticated POST request and returns a new + QNetworkReply. The \a url and \a multiPart are used to create + the request. + + \sa post(), QHttpMultiPart, {https://tools.ietf.org/html/rfc2616#section-9.6} + {Hypertext Transfer Protocol -- HTTP/1.1: POST} +*/ QNetworkReply *QAbstractOAuth2::post(const QUrl &url, QHttpMultiPart *multiPart) { Q_D(QAbstractOAuth2); @@ -302,6 +326,18 @@ QNetworkReply *QAbstractOAuth2::put(const QUrl &url, const QVariantMap ¶mete return put(url, data); } +/*! + \since 5.10 + + \overload + + Sends an authenticated PUT request and returns a new + QNetworkReply. The \a url and \a data are used to create + the request. + + \sa put(), {https://tools.ietf.org/html/rfc2616#section-9.6} + {Hypertext Transfer Protocol -- HTTP/1.1: PUT} +*/ QNetworkReply *QAbstractOAuth2::put(const QUrl &url, const QByteArray &data) { Q_D(QAbstractOAuth2); @@ -310,6 +346,18 @@ QNetworkReply *QAbstractOAuth2::put(const QUrl &url, const QByteArray &data) return reply; } +/*! + \since 5.10 + + \overload + + Sends an authenticated PUT request and returns a new + QNetworkReply. The \a url and \a multiPart are used to create + the request. + + \sa put(), QHttpMultiPart, {https://tools.ietf.org/html/rfc2616#section-9.6} + {Hypertext Transfer Protocol -- HTTP/1.1: PUT} +*/ QNetworkReply *QAbstractOAuth2::put(const QUrl &url, QHttpMultiPart *multiPart) { Q_D(QAbstractOAuth2); |