summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkreplywasmimpl_p.h
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2020-05-07 19:14:36 +1000
committerLorn Potter <lorn.potter@gmail.com>2020-05-25 17:42:06 +1000
commit3fbf7b34cc2242559a047c3868855c9de6f0c3d3 (patch)
tree6c75d28faae21441cb1daffcc15794784a2320b5 /src/network/access/qnetworkreplywasmimpl_p.h
parent745a7fa31e3e56a9c645334811b8f4298d680323 (diff)
wasm: set status codes from network operation
Pick-to: 5.15 Fixes: QTBUG-83991 Change-Id: Ie1e88189bee8b6a9dc6cb2a721777a5e1032307a Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreplywasmimpl_p.h')
-rw-r--r--src/network/access/qnetworkreplywasmimpl_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qnetworkreplywasmimpl_p.h b/src/network/access/qnetworkreplywasmimpl_p.h
index 3c18342c6c..0a62e8ad37 100644
--- a/src/network/access/qnetworkreplywasmimpl_p.h
+++ b/src/network/access/qnetworkreplywasmimpl_p.h
@@ -112,6 +112,8 @@ public:
void dataReceived(const QByteArray &buffer, int bufferSize);
void headersReceived(const QByteArray &buffer);
+ void setStatusCode(int status, const QByteArray &statusText);
+
void setup(QNetworkAccessManager::Operation op, const QNetworkRequest &request,
QIODevice *outgoingData);