跳到主要内容
版本:Next

I18nMiddleware

Implements

  • IMiddleware<any, any>

Index

Constructors

constructor

Properties

i18nConfig

i18nConfig: I18nOptions

resolverConfig

resolverConfig: false | RequestResolver

Methods

resolve

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

staticgetName

  • getName(): string