Class: AcceptLanguageResolver
Implements
Constructors
constructor
• new AcceptLanguageResolver(options?
)
Parameters
Name | Type |
---|---|
options | AcceptLanguageResolverOptions |
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
Name | Type |
---|---|
context | ExecutionContext |
Returns
Promise
<string
| string
[]>