Create a new Agent that will use the endpoint factory to figure out how to connect to the server.

ParametersreactorA reactor for this Agent to place outgoing connections. (type: see HostnameEndpoint.__init__ for acceptable reactor types.)
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 2020-03-20 23:54:06.