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

x/shed/index.ts>WorkerRouter#externalGET

All Worker Tools under a single roof
Latest
method WorkerRouter.prototype.externalGET
import { WorkerRouter } from "https://deno.land/x/shed@v0.1.0-pre.10/index.ts";

Like .external, but only matches GET

Type Parameters

X extends RX

Parameters

init: string | URLPatternInit
handler: Handler<X>

Type Parameters

X extends RX

Parameters

init: string | URLPatternInit
middleware: Middleware<RX, X>
handler: Handler<X>