IPWorks WebSockets 2020 PHP Edition

Questions / Feedback?

SendFile Method

Send file to the remote host.

Object Oriented Interface

public function doSendFile($connectionid, $filename);

Procedural Interface

ipworksws_websocketserver_do_sendfile($res, $connectionid, $filename);

Remarks

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

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 PHP Edition - Version 20.0 [Build 8155]