UNPKG

httpsnippet-lite

Version:

HTTP Request snippet generator for *most* languages

20 lines (19 loc) 503 B
/** * @description * HTTP code snippet generator for PHP using curl-ext. * * @author * @AhmadNassri * * for any questions or issues regarding the generated code snippet, please open an issue mentioning the author. */ import type { Client } from '../../targets.js'; export interface CurlOptions { closingTag?: boolean; maxRedirects?: number; namedErrors?: boolean; noTags?: boolean; shortTags?: boolean; timeout?: number; } export declare const curl: Client<CurlOptions>;