UNPKG

@curveball/kernel

Version:

Curveball is a framework writting in Typescript for Node.js

16 lines 421 B
import { Headers } from './headers.js'; import { Response } from './response.js'; export class MemoryResponse extends Response { constructor(origin) { super(origin); this.headers = new Headers(); this.status = 200; this.body = null; } /** * An object containing all headers. */ headers; } export default MemoryResponse; //# sourceMappingURL=memory-response.js.map