cancel

fun cancel()

Cancels this connection, preventing any further actions from being executed.