UNPKG

@qyrus/journeys

Version:

Record and replay user journeys with continuous streaming.

22 lines (21 loc) 629 B
/** * Sends the payload to the backend via HTTP POST. * Includes error handling and retry logic. * * @param data - The session payload with events. * @param backendUrl - Fixed backend URL. * @param apiKey - The API key for authorization. * @param retryCount - Number of retry attempts on failure. */ export declare function sendDataToBackend( data: any, backendUrl: string, apiKey: string, retryCount?: number ): Promise<boolean>; /** * Validates the API key. * * @param apiKey - The API key. */ export declare function validateApiKey(apiKey: string): boolean;