Request
Type. Parsed Router request passed to middleware.
Table of contents
Category
Type
Type import
tsimport type { Request } from "valyrian.js/router";Public signature
tsinterface Request { params: Record<string, unknown>; query: Record<string, unknown>; url: string; path: string; matches: string[]; redirect(path: string): Promise<string | void>; }Type usage
Router Request is the route input passed to middleware with parsed params, query, URL, path, matches and redirect.