Client constructor

Client(StreamChannel<String> channel)

Creates a Client that communicates over channel.

Note that the client won't begin listening to responses until Client.listen is called.

Implementation

Client(StreamChannel<String> channel)
    : this.withoutJson(
          jsonDocument.bind(channel).transformStream(ignoreFormatExceptions));