Skip to main content
Module

x/http_fns/discover_routes.ts>ComparableRoute

A bunch of functions for building HTTP servers
Go to Latest
interface ComparableRoute
import { type ComparableRoute } from "https://deno.land/x/http_fns@v0.0.27/discover_routes.ts";

A simplified discovered route that associates a single URLPattern with a module specifier.

Properties

pattern: URLPattern

A single route pattern represented as a URLPattern.

module: string | URL

This will always be a URL object if it's an absolute URL, otherwise it will be a string if a relative URL or a bare specifier.