Перейти до основного вмісту

Class: I18nLanguageInterceptor

i18n/src.I18nLanguageInterceptor

Implements

  • NestInterceptor

Constructors

new I18nLanguageInterceptor(i18nOptions, i18nResolvers, i18nService, moduleRef)

new I18nLanguageInterceptor(i18nOptions, i18nResolvers, i18nService, moduleRef): I18nLanguageInterceptor

Parameters

i18nOptions: I18nOptions

i18nResolvers: I18nOptionResolver[]

i18nService: I18nService<Record<string, unknown>>

moduleRef: ModuleRef

Returns

I18nLanguageInterceptor

Source

libs/i18n/src/lib/interceptors/i18n-language.interceptor.ts:25

Methods

intercept

intercept(context, next): Promise<Observable<any>>

Parameters

context: ExecutionContext

next: CallHandler<any>

Returns

Promise<Observable<any>>

Implementation of

NestInterceptor.intercept

Source

libs/i18n/src/lib/interceptors/i18n-language.interceptor.ts:34


Generated using typedoc-plugin-markdown and TypeDoc