Skip to main content

Class: AcceptLanguageResolver

Implements

Constructors

constructor

new AcceptLanguageResolver(options?)

Parameters

NameType
optionsAcceptLanguageResolverOptions

Defined in

src/resolvers/accept-language.resolver.ts:12

Properties

options

Private options: AcceptLanguageResolverOptions

Defined in

src/resolvers/accept-language.resolver.ts:14

Methods

resolve

resolve(context): Promise<string | string[]>

Parameters

NameType
contextExecutionContext

Returns

Promise<string | string[]>

Implementation of

I18nResolver.resolve

Defined in

src/resolvers/accept-language.resolver.ts:19