IAgentEndpointFactoryprovides a way of constructing an endpoint used for outgoing Agent requests. This is useful in the case of needing to proxy outgoing connections, or to otherwise vary the transport used.
||Construct and return an
IStreamClientEndpointfor the outgoing request's connection.
|uri:||The URI of the request.|
|an ||An endpoint which will have its connect method called to issue the request.|
|If the given URI's scheme cannot be handled by this factory.|