OptionalchecksumWhether to compute and verify a SHA-256 checksum over the file.
OptionalchunkPayload bytes per chunk (excluding the frame header).
OptionalhighData-channel bufferedAmount (bytes) at which the sender pauses to apply backpressure.
OptionallowbufferedAmountLowThreshold (bytes) at which the paused sender resumes.
OptionalmaxUpper bound (bytes) on an inbound offer's declared file size. Offers
larger than this are auto-rejected before a ReceiveTransfer is
created, blunting memory/disk-exhaustion from a hostile size. Omit for
no limit.
OptionalofferMilliseconds a sender waits for the receiver to accept an offer before the
transfer fails (releasing its open channels). 0 disables the timeout.
OptionalparallelNumber of parallel binary data channels opened per transfer; chunks are striped across them.
OptionalresumableWhen true, a mid-transfer data-channel drop pauses the send instead of
failing it; re-announcing on reconnected channels
(FileTransferManager.resumeSend) resends only the chunks the receiver
is still missing. In-session only (state is not persisted across reloads),
and best used with checksum: false.
Options accepted by the FileTransferManager constructor.