UNPKG

react-native-offline

Version:

Handy toolbelt to deal with offline mode in React Native applications. Cross-platform, provides a smooth redux integration.

9 lines (8 loc) 501 B
import { SemaphoreColor, ConnectivityArgs } from '../types'; export declare const CACHE_HEADER_VALUE = "no-cache, no-store, must-revalidate"; export declare const DEFAULT_TIMEOUT = 10000; export declare const DEFAULT_PING_SERVER_URL = "https://www.google.com/"; export declare const DEFAULT_HTTP_METHOD = "HEAD"; export declare const DEFAULT_CUSTOM_HEADERS: {}; export declare const SEMAPHORE_COLOR: Record<SemaphoreColor, SemaphoreColor>; export declare const DEFAULT_ARGS: ConnectivityArgs;