close abstract method

Future<void> close()

Closes the socket, returning the same future as done.

Implementation

Future<void> close();