toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
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
=
true
max
Redirects
Link copied to clipboard
val
maxRedirects
:
Int
=
10
referer
Link copied to clipboard
val
referer
:
String
?
=
null
simulate
Browser
Link copied to clipboard
val
simulateBrowser
:
Boolean
=
false
throw
Errors
Link copied to clipboard
val
throwErrors
:
Boolean
=
false