The RegisterProtocolHandlerRequest type enables accepting or rejecting requests from the registerProtocolHandler API. More...
Import Statement: | import QtWebEngine |
Since: | QtWebEngine 1.7 |
Instantiates: | QWebEngineRegisterProtocolHandlerRequest |
See also WebEngineView::registerProtocolHandlerRequested().
origin : url
The URL template for the protocol handler.
This is the second parameter from the registerProtocolHandler call.
scheme : string
The URL scheme for the protocol handler.
This is the first parameter from the registerProtocolHandler call.
void accept()
Accepts the request.
Subsequent calls to accept() and reject() are ignored.
void reject()
Accepts the request.
Subsequent calls to accept() and reject() are ignored.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtwebengine-registerprotocolhandlerrequest.html