toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-rest
/
dev.kord.rest.request
/
Request
Request
sealed
class
Request
<
B
:
Any
,
R
>
(
source
)
Inheritors
JsonRequest
MultipartRequest
Members
Members & Extensions
Properties
base
Url
Link copied to clipboard
val
baseUrl
:
String
body
Link copied to clipboard
abstract
val
body
:
RequestBody
<
B
>
?
files
Link copied to clipboard
abstract
val
files
:
List
<
NamedFile
>
?
headers
Link copied to clipboard
abstract
val
headers
:
StringValues
identifier
Link copied to clipboard
val
Request
<
*
,
*
>
.
identifier
:
RequestIdentifier
parameters
Link copied to clipboard
abstract
val
parameters
:
StringValues
path
Link copied to clipboard
val
path
:
String
route
Link copied to clipboard
abstract
val
route
:
Route
<
R
>
route
Params
Link copied to clipboard
abstract
val
routeParams
:
Map
<
Route.Key
,
String
>
Functions
log
String
Link copied to clipboard
fun
Request
<
*
,
*
>
.
logString
(
body
:
String
)
:
String