SocketInfo.fromJson constructor
- Json yaml
Parses the socket data from a YAML map.
Implementation
SocketInfo.fromJson(Json yaml) :
address = InternetAddress(yaml["host"]),
port = yaml["port"];
Parses the socket data from a YAML map.
SocketInfo.fromJson(Json yaml) :
address = InternetAddress(yaml["host"]),
port = yaml["port"];