JavaScript SDK: SSR reference
Server-side rendering helpers: a client that reads and writes the session in HTTP cookies.
6 min lido·Nível referência·Revisado em 12 de out. de 2026
Esta página ainda não está disponível no seu idioma. É mostrado em inglês.
Este texto em inglês foi gerado automaticamente a partir do original em francês e ainda não foi revisado.
#
Funções
Exported functions
| Function | Description |
|---|---|
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. |
| Function | Description |
|---|---|
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): string | Serialize 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.
Última atualização · 12 de out. de 2026