abort

fun abort()(source)

Cancels any network activity.

MDN Reference