UNPKG

anil-brd-typescript-sdk

Version:

TypeScript SDK for Bright Data APIs - Web Unlocker, SERP, and Scraper APIs

12 lines (11 loc) 423 B
import { HttpClientConfig, ApiResponse } from '../index'; export declare class HttpClient { private client; private config; constructor(config: HttpClientConfig); private setupInterceptors; private generateRequestId; post<T>(url: string, data: Record<string, any>, config?: any): Promise<ApiResponse<T>>; get<T>(url: string, config?: any): Promise<ApiResponse<T>>; private formatResponse; }