An IProtocol that returns a value from its dataReceived method.

Method dataReceived Return something other than None to trigger a deprecation warning for that behavior.

Inherited from Protocol:

Method logPrefix Return a prefix matching the class name, to identify log messages related to this protocol instance.
Method connectionLost Called when the connection is shut down.

Inherited from BaseProtocol (via Protocol):

Method makeConnection Make a connection to a transport and a server.
Method connectionMade Called when a connection is made.
def dataReceived(self, data):

Return something other than None to trigger a deprecation warning for that behavior.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.