Function: getRequestLocale()
getRequestLocale(
context):string|undefined
Defined in: i18n.ts:23
The Accept-Language header of the AppSync request, which the client sends
like any other header. Header names are matched case-insensitively.
Parameters
| Parameter | Type |
|---|---|
context | { request?: { headers?: Record<string, unknown>; } | null; } |
context.request? | { headers?: Record<string, unknown>; } | null |
Returns
string | undefined