Skip to main content
Go to Latest
class OpenboxEndpoints
Re-export
import { OpenboxEndpoints } from "https://deno.land/x/openbox@1.1.1/mod.ts";

Constructors

new
OpenboxEndpoints(schemaRegistry: OpenboxSchemaRegistry, endpointByPathByMethodMap?: Map<PathKey, Map<OpenboxRouteMethod, OpenboxEndpoint>>)

Methods

get(path: PathKey, method: OpenboxRouteMethod): OpenboxEndpoint | undefined
jsonEndpoint<P extends string, J extends OpenboxJsonRouteConfig<P>>(jsonConfig: J)