close

fun close(closeInfo: WebTransportCloseInfo = definedExternally)(source)

MDN Reference