close method

void close()

Close the current socket.

@api private

Implementation

void close() => disconnect();