connect abstract method
void
connect(
- Uri uri,
- VoidCallback onConnected,
- StringCallback onError, {
- int timeoutSeconds = 15,
- bool ignoreBadCert = false,
Connects the socket to uri
then invokes onConnected
or onError
.
Implementation
void connect(Uri uri, VoidCallback onConnected, StringCallback onError,
{int timeoutSeconds = 15, bool ignoreBadCert = false});