import { Context } from "https://deno.land/x/fastro@v0.93.2/mod.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.
server: Fastro
Instance of server
store: Store<string | number | symbol, any>
Server store. Save temporary key-value with TTL
url: URL
The URL interface represents an object providing static methods used for creating object URLs.