sink property

  1. @override
StreamSink<String> sink
override

Add messages to this StreamSink to send them to the server.

The message added to the sink has to be JSON encodable. Messages that fail to encode will be logged through a Logger.

Implementation

@override
StreamSink<String> get sink => _outgoingController.sink;