libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
Loading...
Searching...
No Matches
Timeout Constants

Predefined timeout values. More...

Macros

#define FETCH_TIMEOUT_INFINITE   0
 
#define FETCH_TIMEOUT_DEFAULT   30000
 
#define FETCH_TIMEOUT_SHORT   5000
 
#define FETCH_TIMEOUT_LONG   60000
 

Detailed Description

Predefined timeout values.

Macro Definition Documentation

◆ FETCH_TIMEOUT_DEFAULT

#define FETCH_TIMEOUT_DEFAULT   30000

30 second default timeout

◆ FETCH_TIMEOUT_INFINITE

#define FETCH_TIMEOUT_INFINITE   0

Infinite timeout

◆ FETCH_TIMEOUT_LONG

#define FETCH_TIMEOUT_LONG   60000

60 second long timeout

◆ FETCH_TIMEOUT_SHORT

#define FETCH_TIMEOUT_SHORT   5000

5 second short timeout