UNPKG

@botwall/sdk

Version:

BotWall SDK for site protection and bot crawling

10 lines 552 B
/** * Sends a crawl request, auto-signing the headers using Ed25519. * @param url - The URL to fetch * @param headers - Headers object (must include signature-input and required headers) * @param privateKey - Ed25519 private key (base64-encoded) * @param options - Optional fetch options (method, body, etc.) * @returns The fetch Response object */ export declare function sendCrawlRequest(url: string, headers: Record<string, string>, privateKey: string, options?: RequestInit): Promise<Response>; //# sourceMappingURL=sendCrawlRequest.d.ts.map