interrupt (method)
Interrupts a synchronous send to the remote host.
Syntax
- (void)interrupt:(int)connectionId;
public func interrupt(_ connectionId: Int32) throws -> Void
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 class. If you use SendFile to upload a file, the class will run synchronously on that Connection ID until it is completed.