Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RequestBody

import { RequestBody } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts";

Decorator

Gets the value from the body of a request. Mandarine will try to parse this value. If its content type is application/json or application/x-www-form-urlencoded, it will be parsed to a javascript object If its type is unknown, it will return an Uint8Array with the content of the body.

@RequestBody(name) Target: Method parameter

const RequestBody: () => Function;