class ServerRequestRe-exportimport { ServerRequest } from "https://deno.land/std@0.40.0/http/mod.ts"; Propertiesprivate_body: Deno.Reader | nullprivate_contentLength: number | undefined | nullprivatefinalized: booleanreadonlybody: Deno.ReaderBody of the request. const buf = new Uint8Array(req.contentLength); let bufSlice = buf; let totRead = 0; while (true) { const nread = await req.body.read(bufSlice); if (nread === Deno.EOF) break; totRead += nread; if (totRead >= req.contentLength) break; bufSlice = bufSlice.subarray(nread); } conn: ConnreadonlycontentLength: number | nullValue of Content-Length header. If null, then content length is invalid or not given (e.g. chunked encoding). done: Deferred<Error | undefined>headers: Headersmethod: stringproto: stringprotoMajor: numberprotoMinor: numberr: BufReaderurl: stringw: BufWriterMethodsfinalize(): Promise<void>respond(r: Response): Promise<void>