Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fastro/core/server/types.ts

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Latest
import * as fastro from "https://deno.land/x/fastro@v0.94.1/core/server/types.ts";

Classes

Define the information for a HTTP request, render, send & options

Extends the native Http Request with params, query, and parseBody

Interfaces

Defines the application endpoint, middleware, group, and serve

Type Aliases

Define the function component

Handle http request

Define the layout type

Defines the props of the page layout

The callback which is called when the server starts listening.

Middleware type used by server

Groups the handler, service, page, and layout

The callback for middleware

Define the page component, layout, handler and its folder

Define the props of the page

Static type used by server