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 2017-09-23 19:45:03.