net-coroutines / org.apache.tuweni.net.coroutines / CoroutineNetworkChannel / close

close

abstract fun close(): Unit (source)

Closes this channel.

After a channel is closed, any further attempt to invoke I/O operations upon it will cause a ClosedChannelException to be thrown.

Exceptions

IOException - If an I/O error occurs.