Export QHttpNetworkReply private to permit it to be used by websockets
Task-number: QTBUG-80700 Change-Id: Ifec9c89a2cde5cae1ab98d95b43de21e5b4531fd Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
f6700870bd
commit
2a71ccc232
@ -87,7 +87,7 @@ class QHttpNetworkConnectionChannel;
|
||||
class QHttpNetworkRequest;
|
||||
class QHttpNetworkConnectionPrivate;
|
||||
class QHttpNetworkReplyPrivate;
|
||||
class Q_AUTOTEST_EXPORT QHttpNetworkReply : public QObject, public QHttpNetworkHeader
|
||||
class Q_NETWORK_PRIVATE_EXPORT QHttpNetworkReply : public QObject, public QHttpNetworkHeader
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@ -107,7 +107,7 @@ public:
|
||||
QList<QPair<QByteArray, QByteArray> > header() const override;
|
||||
QByteArray headerField(const QByteArray &name, const QByteArray &defaultValue = QByteArray()) const override;
|
||||
void setHeaderField(const QByteArray &name, const QByteArray &data) override;
|
||||
void parseHeader(const QByteArray &header); // mainly for testing
|
||||
void parseHeader(const QByteArray &header); // used by QtWebSockets
|
||||
|
||||
QHttpNetworkRequest request() const;
|
||||
void setRequest(const QHttpNetworkRequest &request);
|
||||
|
Loading…
Reference in New Issue
Block a user