Taxum / @taxum/core / extract / rawQuery
Variable: rawQuery
const
rawQuery:Extractor
<URLSearchParams
>
Defined in: extract/raw-query.ts:20
Extractor that extracts the raw query without processing it.
Example
ts
import { rawQuery } from "@taxum/core/extract";
import { m, Router } from "@taxum/core/routing";
const handler = handler([rawQuery], (query) => {
// ...
});
const router = new Router()
.route("/users", m.get(handler));