shutdown abstract method
void shutdown(Shutdown a socket in the provided direction.
Calling shutdown will never throw an exception and calling it several times is supported. If both RECEIVE
and SEND
directions are closed, the socket is closed completely, the same as if closeSync has been called.
Source
void shutdown(SocketDirection direction);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/RawSynchronousSocket/shutdown.html