umay-render
Version:
Free, high-performance HTML to PDF and HTML to Image conversion SDK for both browser and Node.js
12 lines (11 loc) • 407 B
TypeScript
import { UmayConfig } from "./config";
export declare class HttpClient {
private client;
private config;
constructor(config: UmayConfig);
request<T>(endpoint: string, data: any): Promise<T>;
/** Başarılı (2xx) yanıtları işler */
private processSuccessResponse;
/** Hatalı (4xx, 5xx) API yanıtlarını işler ve UmayError fırlatır */
private processErrorResponse;
}