Expand description
Transfer session state and PIN protection for the LocalSend HTTP server.
Structs§
- Active
Upload Session - An active upload session with accepted files.
- Download
File - A download file registered with the download manager.
- Download
Manager - Manager maintaining registered files and sessions for the reverse transfer / browser download API.
- Download
Session - An active or accepted reverse transfer download session for a client IP.
- Pending
Session - A pending session awaiting user decision (or auto-accept).
- PinTracker
- Thread-safe PIN attempt tracker with lockout capability.
- Session
File - Metadata and state for an individual file in an active upload session.
- Session
Manager - Manager maintaining session slots, concurrency bounds, and token authentication.
Enums§
- File
Transfer Status - Status of an individual file in an active upload session.
- Prepare
Upload Decision - Decision made on an incoming prepare-upload request.
- Session
EndReason - Reason why an upload session was closed.
- Session
Slot State - Lifecycle state machine for the server’s transfer session slot.
Constants§
- MAX_
PIN_ ATTEMPTS - Maximum failed PIN attempts per IP before temporary lockout (HTTP 429).