Skip to content
Permalink
Browse files
Spell check
  • Loading branch information
mhugent committed Jun 21, 2021
1 parent ee17ca8 commit 7ec671a88eb1a008a6fc764622b0a7fb270bd8f7
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/core/auto_generated/network/qgsnetworkaccessmanager.sip.in
  2. +2 −2 src/core/network/qgsnetworkaccessmanager.h
@@ -323,9 +323,9 @@ The contents of the reply will be returned after the request is completed or an

static QString setRequestPreprocessor( SIP_PYCALLABLE / AllowNone / );
%Docstring
Sets a request pre-processor function, which allows to manipulate a network request before it is processed.
Sets a request pre-processor function, which allows manipulation of a network request before it is processed.

The ``processor`` function takes the QNetworkRequest as its argument, and can mutate the request if neccessary.
The ``processor`` function takes the QNetworkRequest as its argument, and can mutate the request if necessary.

:return: An auto-generated string uniquely identifying the preprocessor, which can later be
used to remove the preprocessor (via a call to :py:func:`~QgsNetworkAccessManager.removeRequestPreprocessor`).
@@ -517,9 +517,9 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager
static QgsNetworkReplyContent blockingPost( QNetworkRequest &request, const QByteArray &data, const QString &authCfg = QString(), bool forceRefresh = false, QgsFeedback *feedback = nullptr );

/**
* Sets a request pre-processor function, which allows to manipulate a network request before it is processed.
* Sets a request pre-processor function, which allows manipulation of a network request before it is processed.
*
* The \a processor function takes the QNetworkRequest as its argument, and can mutate the request if neccessary.
* The \a processor function takes the QNetworkRequest as its argument, and can mutate the request if necessary.
*
* \returns An auto-generated string uniquely identifying the preprocessor, which can later be
* used to remove the preprocessor (via a call to removeRequestPreprocessor()).

0 comments on commit 7ec671a

Please sign in to comment.