The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
HttpRequestParameters
arsd
http2
Undocumented in source.
struct
HttpRequestParameters {
Duration
timeoutFromInactivity
;
bool
useHttp11
;
bool
acceptGzip
;
bool
keepAlive
;
HttpVerb
method
;
string
host
;
ushort
port
;
string
uri
;
bool
ssl
;
string
userAgent
;
string
authorization
;
string
[
string
]
cookies
;
string
[]
headers
;
string
contentType
;
ubyte
[]
bodyData
;
string
unixSocketPath
;
}
Members
Variables
acceptGzip
bool
acceptGzip
;
authorization
string
authorization
;
bodyData
ubyte
[]
bodyData
;
contentType
string
contentType
;
cookies
string
[
string
]
cookies
;
headers
string
[]
headers
;
do not duplicate host, content-length, content-type, or any others that have a specific property
host
string
host
;
keepAlive
bool
keepAlive
;
method
HttpVerb
method
;
port
ushort
port
;
ssl
bool
ssl
;
unixSocketPath
string
unixSocketPath
;
uri
string
uri
;
useHttp11
bool
useHttp11
;
userAgent
string
userAgent
;
arsd
http2
classes
FormData
HttpApiClient
HttpClient
HttpMockProvider
HttpRequest
WebSocket
enums
CertificateFileFormat
HttpVerb
functions
get
getText
post
waitForFirstToComplete
interfaces
ICache
structs
BasicAuth
CookieHeader
HttpCookie
HttpRequestParameters
HttpRequestsAsTheyComplete
HttpResponse
LinkHeader
Uri
templates
addToSimpledisplayEventLoop
Suggestion Box / Bug Report