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

MandarineResourceResolver

import { MandarineResourceResolver } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts";

This class represents the default resolver for resources. It is used by Mandarine to resolve static content. It can be overriden or you can create a personalized resolver with your own code. Refer to the documentation https://mandarineframework.gitbook.io/mandarine-ts/mandarine-core/resource-handlers/resource-resolver

class MandarineResourceResolver implements [[[Mandarine.MandarineMVC].HTTPResolvers].ResourceResolver] {
public async resolve(httpContext: Mandarine.Types.RequestContext, resourcePath: string): Promise<Uint8Array | undefined>;
}

§Implements

§
[[[Mandarine.MandarineMVC].HTTPResolvers].ResourceResolver]
[src]

§Methods

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