1 | export default {
|
2 | reachabilityUrl: 'https://clients3.google.com/generate_204',
|
3 | reachabilityTest: (response: Response): Promise<boolean> =>
|
4 | Promise.resolve(response.status === 204),
|
5 | reachabilityShortTimeout: 5 * 1000, // 5s
|
6 | reachabilityLongTimeout: 60 * 1000, // 60s
|
7 | reachabilityRequestTimeout: 15 * 1000, // 15s
|
8 | };
|