IPWorks WebSockets 2020 Kotlin Edition

Questions / Feedback?

SendFile Method

Send file to the remote host.

Syntax

public fun sendFile(connectionId: String?, fileName: String?)

Remarks

This method sends the file to the client specified by the ConnectionId.

Note: This method operate synchronously. DefaultTimeout or Timeout must be set to a positive value before calling this method.

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