UNPKG

@glandjs/http

Version:

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

8 lines (7 loc) 386 B
import { BrokerAdapter } from '@glandjs/core'; import type { HttpCore } from './http-core'; import type { EventRecord } from '@glandjs/events'; export declare class HttpBroker<TEvents extends EventRecord, TApp extends HttpCore<any, any, any, any>, TOptions> extends BrokerAdapter<TEvents, TApp, TOptions> { constructor(instance: TApp, options?: TOptions); initialize(): TApp; }