ReadonlycontentType: stringThe MIME content type of the file (e.g. "image/png").
ReadonlyfileSize: FileSizeReturns the size of the file in bytes as a FileSize.
ReadonlylastModified: DateThe last modified timestamp of the file.
Readonlyname: stringThe original file name from the upload.
Reads the file content as a ReadableStream<Uint8Array> using the Web Streams API.
Suitable for streaming large files without loading the entire content into memory.
A promise that resolves with a readable stream of the file content.
Represents a file that was uploaded as part of an HTTP request (typically via
multipart/form-data). Provides multiple methods to access the file's content in various formats — text, binary, ArrayBuffer, or as a stream for efficient handling of large files.IMPORT_PATH:
"@daiso-tech/core/http-router/contracts"