IPWorks WebSockets 2020 macOS Edition

Questions / Feedback?

Interrupt Method

Interrupts a synchronous send to the remote host.


public func interrupt(connectionId: Int32) throws -> Void


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.

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