korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-io
/
korlibs.io.net.http
/
HttpClient
/
RequestConfig
Request
Config
data
class
RequestConfig
(
val
followRedirects
:
Boolean
=
true
,
val
throwErrors
:
Boolean
=
false
,
val
maxRedirects
:
Int
=
10
,
val
referer
:
String
?
=
null
,
val
simulateBrowser
:
Boolean
=
false
)
Members
Constructors
Request
Config
Link copied to clipboard
constructor
(
followRedirects
:
Boolean
=
true
,
throwErrors
:
Boolean
=
false
,
maxRedirects
:
Int
=
10
,
referer
:
String
?
=
null
,
simulateBrowser
:
Boolean
=
false
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
follow
Redirects
Link copied to clipboard
val
followRedirects
:
Boolean
max
Redirects
Link copied to clipboard
val
maxRedirects
:
Int
referer
Link copied to clipboard
val
referer
:
String
?
simulate
Browser
Link copied to clipboard
val
simulateBrowser
:
Boolean
throw
Errors
Link copied to clipboard
val
throwErrors
:
Boolean