FetchConfig

Full fetch configuration

Members

Aliases

body_
alias body_ = data

Request body

Variables

auth
Auth auth;

Authentification

authMethod
AuthMethod authMethod;

Sets curl authorisation method

connectTimeout
Duration connectTimeout;

Sets timeout for connecting

contentLength
ulong contentLength;

The content length in bytes when using request that has content e.g. POST/PUT and not using chunked transfer.

cookie
string[string] cookie;

Sets active cookie strings

cookieJar
string cookieJar;

Sets file path for cookies to be stored

data
string data;

Request body

dataTimeout
Duration dataTimeout;

Sets timeout for activity on connection

dnsTimeout
Duration dnsTimeout;

Sets timeout for connecting

headers
string[string] headers;

Headers to send

method
FetchMethod method;

Fetch method

netInterface
string netInterface;

Network interface to use in ofrm of the IP

noDelay
bool noDelay;

Sets tcp no-delay socket option on/off

noUserAgent
bool noUserAgent;

Passes empty string into user agent if true

operationTimeout
Duration operationTimeout;

Sets maximum time an operation is allowed to take

port
ushort port;

Outgoing port to use

portRange
ushort portRange;

Port range (port to port + portRange)

proxy
Proxy proxy;

Curl proxy

proxyAuth
Auth proxyAuth;

Orixy authentification

redirects
uint redirects;

Set max allowed redirections

userAgent
string userAgent;

User agent request header

verbose
bool verbose;

Curl verbosity

Meta