Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mith/example/deps.ts>Request#body

A middleware framework for Deno's http/s server.
Latest
method Request.prototype.body
import { Request } from "https://deno.land/x/mith@v0.9.6/example/deps.ts";

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

Returns

Promise<Body | undefined>

Promise<parsedBody | undefined>