import { Context } from "https://deno.land/x/fastro@v0.85.1/http/server/types.ts";
Define the information for a HTTP request, render, send & options
Index Signatures
key: string]: any
[Properties
info: Deno.ServeHandlerInfo
Information for a HTTP request.
kv: Deno.Kv
Deno KV Instance defined in Fastro Constructor
next: Next
Middleware callback
Render a JSX Component or a Page with data
- If you call it from a standart handler (GET, POST, PUT, DELETE), it will render a JSX component.
- If you call it from a page handler, it will render the data using the predefined JSX layout.
Send data to client
server: Fastro
Instance of server
url: URL
The URL interface represents an object providing static methods used for creating object URLs.