import { type Application } from "https://deno.land/x/carol@v1.1.4/types.ts";
Methods
mainWindow(): Window
Serves pages from given origin, eg http://localhost:8080
.
This can be used for the fast development mode available in web frameworks.
serveHandler(handler: HttpHandler): void
Calls given handler
for each request and allows called to handle it.