@nasriya/hypercloud
Version:
Nasriya HyperCloud is a lightweight Node.js HTTP2 framework.
24 lines (23 loc) • 741 B
JavaScript
class UploadedMemoryFile {
fieldName: '',
fileName: '',
mime: '',
content: [],
size: 0
};
constructor(options) {
this.
this.
this.
}
get fieldName() { return this.
get fileName() { return this.
get mime() { return this.
get size() { return Buffer.from(this.
get content() { return Buffer.concat(this.
push(chunk) {
this.
}
}
export default UploadedMemoryFile;