Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/reno/reno/mod.ts>ProcessedRequest

A thin, testable routing library designed to sit on top of Deno's standard HTTP module
Go to Latest
type alias ProcessedRequest
import { type ProcessedRequest } from "https://deno.land/x/reno@v2.0.75/reno/mod.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; }