interface APIRequest implements ServerRequestimport { type APIRequest } from "https://dotland.deno.dev/x/aleph@v0.2.19/types.ts"; The request object from api requests. Propertiesreadonlypathname: stringreadonlyparams: Record<string, string>readonlyquery: URLSearchParamsreadonlycookies: ReadonlyMap<string, string>Methodsstatus(code: number): thisstatus sets response status of the request. addHeader(key: string, value: string): thisaddHeader adds a new value onto an existing response header of the request, or adds the header if it does not already exist. setHeader(key: string, value: string): thissetHeader sets a new value for an existing response header of the request, or adds the header if it does not already exist. removeHeader(key: string): thisremoveHeader removes the value for an existing response header of the request. send(data: string | Uint8Array | ArrayBuffer, contentType?: string): Promise<void>send replies to the request with any content with type json(data: any): Promise<void>json replies to the request with a json content