# eric6.WebBrowser.Network.NetworkUrlInterceptor

Module implementing a class to handle URL requests before they get processed by QtWebEngine.

### Global Attributes

None

### Classes

NetworkUrlInterceptor | Class implementing an URL request handler.

### Functions

None

## NetworkUrlInterceptor

Class implementing an URL request handler.

### Derived from

QWebEngineUrlRequestInterceptor

### Class Attributes

None

### Class Methods

None

### Methods

NetworkUrlInterceptor | Constructor
__loadSettings | Private method to load the Network Manager settings.
installUrlInterceptor | Public method to install an URL interceptor.
interceptRequest | Public method handling an URL request.
preferencesChanged | Public slot to handle a change of preferences.
removeUrlInterceptor | Public method to remove an URL interceptor.

### Static Methods

None

#### NetworkUrlInterceptor (Constructor)

NetworkUrlInterceptor(parent=None)

Constructor

parent (QObject)
  reference to the parent object

#### NetworkUrlInterceptor.__loadSettings

__loadSettings()

Private method to load the Network Manager settings.

#### NetworkUrlInterceptor.installUrlInterceptor

installUrlInterceptor(interceptor)

Public method to install an URL interceptor.

interceptor (UrlInterceptor)
  URL interceptor to be installed

#### NetworkUrlInterceptor.interceptRequest

interceptRequest(info)

Public method handling an URL request.

info (QWebEngineUrlRequestInfo)
  URL request information

#### NetworkUrlInterceptor.preferencesChanged

preferencesChanged()

Public slot to handle a change of preferences.

#### NetworkUrlInterceptor.removeUrlInterceptor

removeUrlInterceptor(interceptor)

Public method to remove an URL interceptor.

interceptor (UrlInterceptor)
  URL interceptor to be removed

Up