光环标志
光环基地文档
文档›JavaScript SDK 参考›SSR reference

JavaScript SDK: SSR reference

Server-side rendering helpers: a client that reads and writes the session in HTTP cookies.

6分钟 读取·级别 参考·修改于 2026年10月12日
此页面尚不支持您的语言。它以英文显示。
该英文文本是根据法文原文自动生成的,尚未经过审查。
#
功能

Exported functions

FunctionDescription
function createServerClient<Database = any>(baseUrl: string, apiKey: string, options: ServerClientOptions): AuraClient<Database>—
function createBrowserClient<Database = any>(baseUrl: string, apiKey: string, options?: AuraClientOptions): AuraClient<Database>Create an Aurabase client for browser usage.
FunctionDescription
function parseCookieHeader(header: string): Record<string, string>Parse a raw Cookie header string into key-value pairs.
function serializeCookieHeader(name: string, value: string, options?: SerializeCookieOptions): stringSerialize a cookie name + value + options into a Set-Cookie header value.
Generated page

This page is generated from the type declarations and comments of the SDK, so it cannot drift from the published code. For worked examples, read the guides.

最后更新· 2026年10月12日