Server.withoutJson constructor
Creates a Server that communicates using decoded messages over
channel
.
Unlike new Server, this doesn't read or write JSON strings. Instead, it reads and writes decoded maps or lists.
Note that the server won't begin listening to requests
until
Server.listen is called.
Implementation
Server.withoutJson(StreamChannel channel)
: _manager = new ChannelManager("Server", channel);