eric6.Helpviewer.AdBlock.AdBlockBlockedNetworkReply
Module implementing a QNetworkReply subclass reporting a blocked request.
Global Attributes
Classes
Functions
AdBlockBlockedNetworkReply
Class implementing a QNetworkReply subclass reporting a blocked request.
Derived from
QNetworkReply
Class Attributes
Class Methods
Methods
Static Methods
AdBlockBlockedNetworkReply (Constructor)
AdBlockBlockedNetworkReply(request, subscription, rule, parent=None)
Constructor
- request
-
reference to the request object (QNetworkRequest)
- subscription
-
subscription containing the matched rule
(AdBlockSubscription)
- rule
-
matching rule (AdBlockRule)
- parent
-
reference to the parent object (QObject)
AdBlockBlockedNetworkReply.__fireSignals
__fireSignals()
Private method to send some signals to end the connection.
AdBlockBlockedNetworkReply.abort
abort()
Public slot to abort the operation.
AdBlockBlockedNetworkReply.readData
readData(maxlen)
Public method to retrieve data from the reply object.
- maxlen
-
maximum number of bytes to read (integer)
- Returns:
-
string containing the data (string)