sendFile
Sends a specified file.
See Also: srt_sendfile
Return
the size (>0) of the transmitted data of a file.
Parameters
the path of the file to send
the offset used to read file from
the size of the file
the size of the single block to read at once before writing it to a file
See also
Throws
if it has failed to send message
if a timeout has been triggered
Sends a specified file.
See Also: srt_sendfile
Return
the size (>0) of the transmitted data of a file.
Parameters
the File to send
the offset used to read file from
the size of the file
the size of the single block to read at once before writing it to a file
See also
Throws
if it has failed to send message
if a timeout has been triggered
Sends a specified file.
See Also: srt_sendfile
Return
the size (>0) of the transmitted data of a file.
Parameters
the File to send
the size of the single block to read at once before writing it to a file
See also
Throws
if it has failed to send message
if a timeout has been triggered