diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-04-19 16:01:24 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-06-12 11:46:14 +0000 |
commit | 7b3570a96210d7f08453903be503eb33d43e495c (patch) | |
tree | 03e8775a94dddecbfb2b870990bdd191f96d46d0 /src/core/api/qwebengineurlrequestinfo.cpp | |
parent | ba4314a4392ac0e86b7d7b47bf5ef01035628db2 (diff) | |
download | qtwebengine-7b3570a96210d7f08453903be503eb33d43e495c.tar.gz |
Apply url request interceptor on websocket connect as well
Try to match the types as best as we can, and handle the responses.
Pick-to: 6.4
Fixes: QTBUG-92932
Change-Id: I01bc85668d2540b79fd2a52796f99d05f161e8a5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/api/qwebengineurlrequestinfo.cpp')
-rw-r--r-- | src/core/api/qwebengineurlrequestinfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/api/qwebengineurlrequestinfo.cpp b/src/core/api/qwebengineurlrequestinfo.cpp index 10661ec8f..ded836d6b 100644 --- a/src/core/api/qwebengineurlrequestinfo.cpp +++ b/src/core/api/qwebengineurlrequestinfo.cpp @@ -181,6 +181,7 @@ QWebEngineUrlRequestInfo::QWebEngineUrlRequestInfo(QWebEngineUrlRequestInfoPriva \value ResourceTypePluginResource A resource requested by a plugin. (Added in Qt 5.7) \value ResourceTypeNavigationPreloadMainFrame A main-frame service worker navigation preload request. (Added in Qt 5.14) \value ResourceTypeNavigationPreloadSubFrame A sub-frame service worker navigation preload request. (Added in Qt 5.14) + \value ResourceTypeWebSocket A WebSocket request. (Added in Qt 6.4) \value ResourceTypeUnknown Unknown request type. \note For forward compatibility all values not matched should be treated as unknown, |