IPWorks P2P 2020 Kotlin Edition

Questions / Feedback?

Interrupt Method

Interrupts a synchronous send to the remote host.

Syntax

public fun interrupt(connectionId: String?)

Remarks

This property is called using the Connection ID if you wish to interrupt a connection and stop a file from uploading without disconnecting the client connected to the component. If you use SendFile to upload a file, the component will run synchronously on that Connection ID until it is completed.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks P2P 2020 Kotlin Edition - Version 20.0 [Build 7941]