Skip to main content

receive

Function receive 

Source
pub async fn receive(
    config: &AppConfig,
    identity: &TlsIdentity,
    options: &ReceiveOptions,
) -> Result<(), Error>
Expand description

Handles the lanflare receive command.

Starts Hyper HTTP/HTTPS server daemon with optional PIN protection, receives file upload sessions, supports auto-accept or interactive approval, and saves incoming files directly to the download directory.