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-05-24 20:04:00.