Resource Resolver
Last updated
Was this helpful?
Last updated
Was this helpful?
The Resource Resolver interface () is responsible for resolving a Resource Handler and finally returning the requested resource in form of Uint8Array which will then be reflected on the response body. The Resource Resolver implementation is used in .
Name
Description
Arguments
resolve
Resolves the resolve handler
httpContext: Context of the incoming HTTP request (This parameter is injected by Mandarine's Resource Handler Middleware).
resourcePath: It is the path of the requested resource (This parameter is injected by Mandarine's Resource Handler Middleware)
Mandarine has a default resource resolves which is used to handle static content. to see its source code.