A protocol like HTTP11ClientProtocol but which does not actually know HTTP/1.1 and only collects requests in a list.

Instance Variable requests A list of two-tuples. Each time a request is made, a tuple consisting of the request and the Deferred returned from the request method is appended to this list.
Method __init__ Undocumented
Method request Capture the given request for later inspection.

Inherited from Protocol:

Method logPrefix Return a prefix matching the class name, to identify log messages related to this protocol instance.
Method dataReceived Called whenever data is received.
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.
requests =
A list of two-tuples. Each time a request is made, a tuple consisting of the request and the Deferred returned from the request method is appended to this list.
def __init__(self):
Undocumented
def request(self, request):

Capture the given request for later inspection.

ReturnsA Deferred which this code will never fire.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.