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]