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

Control when credentials are sent with requests. More...

Enumerations

enum  fetch_credentials_t { FETCH_CREDENTIALS_OMIT , FETCH_CREDENTIALS_SAME_ORIGIN , FETCH_CREDENTIALS_INCLUDE }
 Credential handling modes. More...
 

Detailed Description

Control when credentials are sent with requests.

Enumeration Type Documentation

◆ fetch_credentials_t

Credential handling modes.

Enumerator
FETCH_CREDENTIALS_OMIT 

Never send credentials

FETCH_CREDENTIALS_SAME_ORIGIN 

Send credentials for same-origin only

FETCH_CREDENTIALS_INCLUDE 

Always send credentials