mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-09-22 03:02:21 +08:00
16 lines
416 B
C++
16 lines
416 B
C++
#ifndef WEBENGINEURLREQUESTINTERCEPTOR_H
|
|
#define WEBENGINEURLREQUESTINTERCEPTOR_H
|
|
|
|
#include <QWebEngineUrlRequestInterceptor>
|
|
|
|
class WebEngineUrlRequestInterceptor : public QWebEngineUrlRequestInterceptor
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit WebEngineUrlRequestInterceptor(QObject *parent = nullptr);
|
|
void interceptRequest(QWebEngineUrlRequestInfo &info) override;
|
|
};
|
|
|
|
#endif // WEBENGINEURLREQUESTINTERCEPTOR_H
|