- Preparing search index...
- The search index is not available
Scute
Function createPagesEdgeRuntimeClient
- createPagesEdgeRuntimeClient(context, config?): ScuteClient
-
Parameters
-
context: {
request: NextRequest;
}
-
Optional
config: {
appId?: UniqueIdentifier;
baseUrl?: string;
debug?: boolean;
preferences?: { sessionStorageAdapter?: ScuteStorage | undefined; refetchOnWindowFocus?: boolean | undefined; refetchInverval?: number | undefined; httpOnlyRefresh?: boolean | undefined; };
secretKey?: string;
}
-
Optional
appId?: UniqueIdentifier
-
Optional
baseUrl?: string
-
Optional
debug?: boolean
-
Optional
preferences?: { sessionStorageAdapter?: ScuteStorage | undefined; refetchOnWindowFocus?: boolean | undefined; refetchInverval?: number | undefined; httpOnlyRefresh?: boolean | undefined; }
-
Optional
secretKey?: string
Returns ScuteClient
IMPORTANT: Do not expose to the browser