import { type CloudflareFetchHandler } from "https://deno.land/x/acorn@0.7.1/types_internal.ts";
Call Signatures
(): Promise<Response>
A method that is compatible with the Cloudflare Worker Fetch Handler and can be exported to handle Cloudflare Worker fetch requests.
Example
import { Application } from "@oak/oak";
const app = new Application();
app.use((ctx) => {
ctx.response.body = "hello world!";
});
export default { fetch: app.fetch };