UNPKG

@glandjs/express

Version:

An Express adapter for Gland HTTP protocol layer, enabling classic middleware-based routing within the Gland architecture solution.

8 lines (7 loc) 390 B
import { HttpCore, type HttpApplicationOptions } from '@glandjs/http'; import type { Application, Request, Response } from 'express'; import { EventRecord } from '@glandjs/events'; import type { Server } from 'net'; export declare class ExpressCore<TEvents extends EventRecord> extends HttpCore<Server, Application, Request, Response> { constructor(options?: HttpApplicationOptions); }