QWebEngineRegisterProtocolHandlerRequest

The QWebEngineRegisterProtocolHandlerRequest class enables accepting or rejecting requests from the registerProtocolHandler API. More

Inheritance diagram of PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest

Synopsis

Functions

Detailed Description

class PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest
PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.accept()

Accepts the request

Subsequent calls to and reject() are ignored.

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.__ne__(that)
Parameters

thatPySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest

Return type

bool

Returns true if that points to a different object than this request.

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.__eq__(that)
Parameters

thatPySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest

Return type

bool

Returns true if that points to the same object as this request.

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.origin()
Return type

PySide6.QtCore.QUrl

This property holds The URL template for the protocol handler..

This is the second parameter from the registerProtocolHandler call.

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.reject()

Rejects the request.

Subsequent calls to accept() and are ignored.

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.scheme()
Return type

str

This property holds The URL scheme for the protocol handler..

This is the first parameter from the registerProtocolHandler call.