class ResponseRe-exportimport { Response } from "https://deno.land/x/texa@0.8.1/mod.ts"; A response object. ConstructorsnewResponse(pair: Pair)Initiate a new response object. Propertiescontent: stringThe body content. readonlyheaders: ResponseHeadersThe headers to send back. statusCode: StatusThe status code to respond with. readonlyWRITABLE: booleanMethodsdelete(key: string): thisAlias: .headers.delete(key: string) end(body?: string): Promise<this>Send and end the response. file(path: string): thisSend file contents in response. File contents are loaded in .end(). get(key: string): HeaderValue | voidAlias: .headers.get(key: string) has(key: string): booleanAlias: .headers.has(key: string) json(data: any): Promise<this>Send a json response and end the response. set(key: string, value: HeaderValue): thisAlias: .headers.set(key: string, value: HeaderValue) status(code: Status): thisSet the status code to respond with. type(type: string): thisSet the Content-Type response header. write(chunk?: string): thisWrite some data to the body.