curlconverter
Version:
convert curl commands to Python, JavaScript, Go, PHP and more
6 lines (5 loc) • 421 B
TypeScript
import type { Request, Warnings } from "../../parse.js";
export declare const supportedArgs: Set<string>;
export declare function _toJavaHttpUrlConnection(requests: Request[], warnings?: Warnings): string;
export declare function toJavaHttpUrlConnectionWarn(curlCommand: string | string[], warnings?: Warnings): [string, Warnings];
export declare function toJavaHttpUrlConnection(curlCommand: string | string[]): string;