The RegisterProtocolHandlerRequest type enables accepting or rejecting requests from the registerProtocolHandler API. 更多...
| import 語句: | import QtWebEngine 1.10 |
| Since: | QtWebEngine 1.7 |
| 實例化: | QWebEngineRegisterProtocolHandlerRequest |
另請參閱 WebEngineView::registerProtocolHandlerRequested() .
|
origin : url |
The URL template for the protocol handler.
This is the second parameter from the registerProtocolHandler 調用。
|
scheme : string |
The URL scheme for the protocol handler.
This is the first parameter from the registerProtocolHandler 調用。
Accepts the request.
Subsequent calls to accept() and reject() 被忽略。
Accepts the request.
Subsequent calls to accept() and reject() are ignored.