Part of twisted.internet.endpoints View Source
This allows using a client endpoint without having to create a factory.
Parameters | endpoint | A client endpoint to connect to. |
protocol | A protocol instance. | |
Returns | The result of calling connect on the endpoint, i.e. a Deferred that
will fire with the protocol when connected, or an appropriate error. | |
Present Since | 13.1 |