FletUpload
Flet app uploads handler.
Parameters:
- upload_dir (str) - An absolute path to a directory with uploaded files.
- max_upload_size (Optional[int], default:
None) - maximum size of a single upload, bytes. Unlimited ifNone. - secret_key (Optional[str], default:
None) - secret key to sign and verify upload requests.
Methods
handle- Handle file upload.
Methods
handleasync
handle(request: Request)Handle file upload.
Upload must be an non-encoded (raw) file in the request body.