close

open override fun close()(source)

Closes the data channel and releases all associated resources. Automatically invokes closeTransport. Accessing the channel after this operation could throw an exception.