Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MandarineMvc.HTTPResolvers.ResourceResolver

import type { MandarineMvc } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mvc-framework/mandarine-mvc.ns.ts"; 

const { ResourceResolver } = MandarineMvc.HTTPResolvers;

Resolves the requested resource.

interface ResourceResolver {
resolve(httpContext: Mandarine.Types.RequestContext, resourcePath: string): Promise<Uint8Array | undefined>;
}

§Methods

§
resolve(httpContext: Mandarine.Types.RequestContext, resourcePath: string): Promise<Uint8Array | undefined>
[src]