curlconverter
Version:
convert curl commands to Python, JavaScript, Go, PHP and more
7 lines (6 loc) • 491 B
TypeScript
import type { Request, Warnings } from "../../parse.js";
export declare const supportedArgs: Set<string>;
export declare function getFilesString(request: Request, warnings: Warnings): [string, boolean];
export declare function _toRubyHttparty(requests: Request[], warnings?: Warnings): string;
export declare function toRubyHttpartyWarn(curlCommand: string | string[], warnings?: Warnings): [string, Warnings];
export declare function toRubyHttparty(curlCommand: string | string[]): string;