Function createServerActionClient

  • Parameters

    • context: {
          cookies: (() => ReadonlyRequestCookies);
      }
      • cookies: (() => ReadonlyRequestCookies)
          • (): ReadonlyRequestCookies
          • Returns ReadonlyRequestCookies

    • 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

        IMPORTANT: Do not expose to the browser

    Returns ScuteClient

Generated using TypeDoc