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

x/mith/mod.ts>Request#setBody

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

response.body will always return the body parser with this method, thirdparty body parsers can be used by setting the parsedBody value mannualy

Parameters

body: Body | undefined

this is the already parsed body