The R2Bucket bindings to use
Returns the file with the given key, or null
if no such key exists.
Returns true
if a file with the given key exists, false
otherwise.
Create a new FileUploadHandler function that will automatically upload files to the File Storage.
The handle will only upload files if they match a list of valid input
field name. The key used to store the file can be customized with a
getKey
function.
The form field names allowed to upload files.
Optional
getKey: GetKeyFunctionA function that returns the key usd to store the file in the file system.
A file upload handler function that can be used with the parseFormData.
Upload, store and serve images, videos, music, documents and other unstructured data in your Edge-first application.