Aller au contenu principal
Version: Next

HttpProxyMiddleware

Implements

  • IMiddleware<any, any>

Index

Constructors

constructor

Properties

httpProxy

httpProxy: HttpProxyConfig

logger

logger: ILogger

Methods

execProxy

  • execProxy(ctx: any, req: any, res: any, next: any, isServerless: any): Promise<any>

getProxyList

resolve

  • resolve(app: IMidwayBaseApplication<Context>): (req: any, res: any, next: any) => Promise<any>

staticgetName

  • getName(): string