interface

ServerClientOptions

Public interface ServerClientOptions from @riducms/sveltekit.

Properties

PropertyTypeDescription
fetch((input: Parameters<typeof globalThis.fetch>[0], init?: Parameters<typeof globalThis.fetch>[1]) => ReturnType<typeof globalThis.fetch>) | undefinedFetch for server requests to Ridu. Defaults to the definition's fetch, then to SvelteKit's event.fetch. The client sends its token in a header with credentials: "omit", so event.fetch does not forward the web app's cookies to Ridu.

Full signature