UNPKG

@logicwind/react-native-tvos-ssl-pinning

Version:
19 lines 590 B
export interface PinningOptions { method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; headers?: Record<string, string>; body?: string; timeoutInterval?: number; sslPinning?: { certs: string[]; }; [key: string]: any; } export interface PinningResponse { status: number; headers: Record<string, string>; body: string; [key: string]: any; } export declare function getAvailableCertificates(): string[]; export declare function fetchDataWithPinning(url: string, options: PinningOptions): PinningResponse; //# sourceMappingURL=index.d.ts.map