PingService constructor

PingService(
  1. Host host
)

Implementation

PingService(this.host) {
  host.setStreamHandler(PingConstants.protocolId, _pingHandler);
}