@nasriya/hypercloud
Version:
Nasriya HyperCloud is a lightweight Node.js HTTP2 framework.
26 lines (25 loc) • 821 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
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.
}
}
exports.default = UploadedMemoryFile;