sink property

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

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