secure abstract method
- String domain
Upgrades the connection into a secure version, e.g. by performing a TLS upgrade. May do nothing if the connection is always secure. Returns true if the socket has been successfully upgraded. False otherwise.
Implementation
Future<bool> secure(String domain);