SocketInfo.fromJson constructor

SocketInfo.fromJson(
  1. Json yaml
)

Parses the socket data from a YAML map.

Implementation

SocketInfo.fromJson(Json yaml) :
  address = InternetAddress(yaml["host"]),
  port = yaml["port"];