Obsolete Members for QAbstractOAuth2

The following members of class QAbstractOAuth2 are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(deprecated in 6.8) virtual QNetworkReply *post(const QUrl &url, QHttpMultiPart *multiPart)[see note below]
(deprecated in 6.8) virtual QNetworkReply *post(const QUrl &url, const QByteArray &data)[see note below]
(deprecated in 6.8) virtual QNetworkReply *put(const QUrl &url, QHttpMultiPart *multiPart)[see note below]
(deprecated in 6.8) virtual QNetworkReply *put(const QUrl &url, const QByteArray &data)[see note below]

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

Member Function Documentation

[override virtual invokable, deprecated in 6.8] QNetworkReply *QAbstractOAuth2::deleteResource(const QUrl &url, const QVariantMap &parameters = QVariantMap())

This function is deprecated since 6.8. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::deleteResource(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated DELETE request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: DELETE

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[override virtual invokable, deprecated in 6.8] QNetworkReply *QAbstractOAuth2::get(const QUrl &url, const QVariantMap &parameters = QVariantMap())

This function is deprecated since 6.8. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::get(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated GET request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: GET

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

This function is deprecated since 6.8. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::head(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated HEAD request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: HEAD

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[override virtual invokable, deprecated in 6.8] QNetworkReply *QAbstractOAuth2::post(const QUrl &url, const QVariantMap &parameters = QVariantMap())

This function is deprecated since 6.8. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::post(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated POST request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: POST

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[virtual invokable, deprecated in 6.8] QNetworkReply *QAbstractOAuth2::post(const QUrl &url, QHttpMultiPart *multiPart)

This function is deprecated since 6.8. We strongly advise against using it in new code.

Please use QtNetwork classes directly instead, see HTTP method alternatives.

This is an overloaded function.

Sends an authenticated POST request and returns a new QNetworkReply. The url and multiPart are used to create the request.

{Hypertext Transfer Protocol – HTTP/1.1: POST}

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

See also post(), QHttpMultiPart, and https://tools.ietf.org/html/rfc2616#section-9.6.

[virtual invokable, deprecated in 6.8] QNetworkReply *QAbstractOAuth2::post(const QUrl &url, const QByteArray &data)

This function is deprecated since 6.8. We strongly advise against using it in new code.

Please use QtNetwork classes directly instead, see HTTP method alternatives.

This is an overloaded function.

Sends an authenticated POST request and returns a new QNetworkReply. The url and data are used to create the request.

{Hypertext Transfer Protocol – HTTP/1.1: POST}

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

See also post() and https://tools.ietf.org/html/rfc2616#section-9.6.

[override virtual invokable, deprecated in 6.8] QNetworkReply *QAbstractOAuth2::put(const QUrl &url, const QVariantMap &parameters = QVariantMap())

This function is deprecated since 6.8. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::put(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated PUT request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: PUT

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[virtual invokable, deprecated in 6.8] QNetworkReply *QAbstractOAuth2::put(const QUrl &url, QHttpMultiPart *multiPart)

This function is deprecated since 6.8. We strongly advise against using it in new code.

Please use QtNetwork classes directly instead, see HTTP method alternatives.

This is an overloaded function.

Sends an authenticated PUT request and returns a new QNetworkReply. The url and multiPart are used to create the request.

{Hypertext Transfer Protocol – HTTP/1.1: PUT}

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

See also put(), QHttpMultiPart, and https://tools.ietf.org/html/rfc2616#section-9.6.

[virtual invokable, deprecated in 6.8] QNetworkReply *QAbstractOAuth2::put(const QUrl &url, const QByteArray &data)

This function is deprecated since 6.8. We strongly advise against using it in new code.

Please use QtNetwork classes directly instead, see HTTP method alternatives.

This is an overloaded function.

Sends an authenticated PUT request and returns a new QNetworkReply. The url and data are used to create the request.

{Hypertext Transfer Protocol – HTTP/1.1: PUT}

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

See also put() and https://tools.ietf.org/html/rfc2616#section-9.6.