t.w.c.A.usingEndpointFactory(cls, reactor, endpointFactory, pool=None) : class method documentation

Part of twisted.web.client.Agent View Source

Create a new Agent that will use the endpoint factory to figure out how to connect to the server.
ParametersreactorA provider of twisted.internet.interfaces.IReactorTime.
endpointFactoryUsed to construct endpoints which the HTTP client will connect with. (type: an IAgentEndpointFactory provider.)
poolAn HTTPConnectionPool instance, or None, in which case a non-persistent HTTPConnectionPool instance will be created. (type: HTTPConnectionPool)
ReturnsA new Agent.
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.