RemoteClient constructor

RemoteClient(
  1. StreamChannel<String> channel
)

Wraps a channel of raw strings, decoding JSON on the way through.

Implementation

RemoteClient(StreamChannel<String> channel)
  : this.withoutJson(jsonDocument.bind(channel).cast<Map>());