UNPKG

@omniconvert/server-side-testing-sdk

Version:

TypeScript SDK for server-side A/B testing and experimentation

27 lines 746 B
/** * HTTP client interface for API communication * Provides methods for making HTTP requests to the experiments API */ export interface HttpClientInterface { /** * Make a generic HTTP request */ request(method: string, uri?: string, options?: RequestInit): Promise<Response>; /** * Make a tracking request */ requestTracking(method: string, queryParams?: Record<string, unknown>): Promise<Response>; /** * Request experiments configuration */ requestExperiments(): Promise<Response>; /** * Check if cache bypass is enabled */ hasCacheBypass(): boolean; /** * Get the base URI */ getBaseUri(): string; } //# sourceMappingURL=HttpClientInterface.d.ts.map