UNPKG

@dazejs/framework

Version:

Daze.js - A powerful web framework for Node.js

14 lines (13 loc) 517 B
import { Next } from '../../../http/middleware'; import { HttpProxy } from '../../../http/proxy'; import { Request } from '../../../http/request'; import { MiddlewareInterface } from '../../../interfaces'; export declare class ProxyMiddleware implements MiddlewareInterface { options: any; constructor(options: any); resolve(request: Request, next: Next): Promise<import("../../..").Response | HttpProxy>; private match; private getUrlPathName; private isStringPath; private isGlobPath; }