Skip to main content
Module

x/reno/reno/builtins.ts>ProcessedRequest

A thin, testable routing library designed to sit on top of Deno's standard HTTP module
Latest
type alias ProcessedRequest
import { type ProcessedRequest } from "https://deno.land/x/reno@v2.0.105/reno/builtins.ts";

An AugmentedRequest with an additional property containing the body after it has been parsed or processed, typically by one of the built-in middlewares. For example, the withJsonBody() middleware will deserialise the raw body with JSON.parse() and assign the result to the parsedBody property before forwarding the ProcessedRequest to the wrapped route handler.

This type can also be useful when defining your own higher-order route handlers.

definition: AugmentedRequest & { parsedBody: TBody; }