class Request
implements IRequest
import { Request } from "https://deno.land/x/mith@v0.9.6/mod.ts";
This class represents the request object from Mith framework
Properties
private
parsedBody: Body | undefinedprivate
parsedQuery: URLSearchParams | undefinedMethods
Returns the body of a request in a JSON format If the body has not been parsed yet, it will run the body parser and then return the parsed body Performance Note: It only parses the body if the application requests it and only if there is a body to be parsed
query(): Promise<URLSearchParams | undefined>