UNPKG

dinoloop-es8

Version:

A lightweight REST API Library for building scalable Node.js server-side applications powered by Typescript

10 lines (9 loc) 402 B
import { RequestStartMiddleware } from '../../filter'; import { Response } from '../../types'; /** * Sets context property to UserIdentity instance for every request start. * If UserPrinciple enabled, this would be second built-in RequestStart middleware */ export declare class TaskContextMiddleware extends RequestStartMiddleware { invoke(req: any, res: Response, next: any): void; }