UNPKG

@glandjs/http

Version:

A protocol adapter for HTTP built on top of the Gland architecture solution.

3 lines (2 loc) 157 B
import type { HttpContext } from '../context'; export type RouteAction<TRequest, TResponse> = (ctx: HttpContext<TRequest, TResponse>) => any | Promise<any>;