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

MandarineMVC

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

This class is the bridge between the HTTP server & the Mandarine Compiler.

class MandarineMVC {
constructor(onInitialization?: Function, onRun?: Function);
private oakMiddleware: Array<Middleware>;
get handle();
public logger: Log;
 
private initializeMVCApplication(): Application;
public addMiddleware(middleware: Middleware): MandarineMVC;
public openAPI(documentBuilder: (document: OpenAPIBuilder) => OpenAPIBuilder): MandarineMVC;
public run(options?: {
hostname?: string;
port?: number;
https?: {
certFile: string;
keyFile: string;
}
;
}
);
public saveOpenAPI(path: string | URL): MandarineMVC;
}

§Constructors

§
new MandarineMVC(onInitialization?: Function, onRun?: Function)
[src]

§Properties

§
oakMiddleware: Array<Middleware>
[src]
§
handle readonly
[src]
§
logger: Log
[src]

§Methods

§
initializeMVCApplication(): Application private
[src]
§
addMiddleware(middleware: Middleware): MandarineMVC
[src]
§
openAPI(documentBuilder: (document: OpenAPIBuilder) => OpenAPIBuilder): MandarineMVC
[src]
§
run(options?: {
hostname?: string;
port?: number;
https?: {
certFile: string;
keyFile: string;
}
;
}
)
[src]
§
saveOpenAPI(path: string | URL): MandarineMVC
[src]