terminate

fun terminate(): Unit

Overrides WebSocketSession.terminate

Initiate connection termination immediately. Termination may complete asynchronously.