sink property

  1. @override
WebSocketSink sink
override

The sink for sending values to the other endpoint.

This supports additional arguments to WebSocketSink.close that provide the remote endpoint reasons for closing the connection.

Implementation

@override
WebSocketSink get sink => WebSocketSink._(_webSocket);