Fastro API

Fastro Instance

Create fastro instance to load all controller, middleware, template and static file.

const server = new Fastro(serverOptions?: ServerOptions);

Fastro Methods

Request

Request is extended from ServerRequest.

import type { Request } from "https://raw.fastro.dev/master/mod.ts";
export const handler = (request: Request) => {
    request.send("setup complete");
};

Request Methods

What’s next: