diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.internal.client
/
RestClient
Rest
Client
interface
RestClient
(
source
)
Inheritors
ChannelClient
GlobalClient
GuildClient
CommandClient
InteractionClient
InviteClient
TemplateClient
WebhookClient
DefaultRestClient
Members
Types
Companion
Link copied to clipboard
object
Companion
Functions
DELETE
Link copied to clipboard
abstract
suspend
fun
DELETE
(
majorPath
:
String
,
minorPath
:
String
=
""
,
rateKey
:
String
=
majorPath
,
block
:
HttpRequestBuilder
.
(
)
->
Unit
=
{}
)
:
HttpResponse
GET
Link copied to clipboard
abstract
suspend
fun
GET
(
majorPath
:
String
,
minorPath
:
String
=
""
,
rateKey
:
String
=
majorPath
,
block
:
HttpRequestBuilder
.
(
)
->
Unit
=
{}
)
:
HttpResponse
PATCH
Link copied to clipboard
abstract
suspend
fun
PATCH
(
majorPath
:
String
,
minorPath
:
String
=
""
,
rateKey
:
String
=
majorPath
,
omitNulls
:
Boolean
=
false
,
block
:
HttpRequestBuilder
.
(
)
->
Unit
=
{}
)
:
HttpResponse
POST
Link copied to clipboard
abstract
suspend
fun
POST
(
majorPath
:
String
,
minorPath
:
String
=
""
,
rateKey
:
String
=
majorPath
,
omitNulls
:
Boolean
=
false
,
block
:
HttpRequestBuilder
.
(
)
->
Unit
=
{}
)
:
HttpResponse
PUT
Link copied to clipboard
abstract
suspend
fun
PUT
(
majorPath
:
String
,
minorPath
:
String
=
""
,
rateKey
:
String
=
majorPath
,
omitNulls
:
Boolean
=
false
,
block
:
HttpRequestBuilder
.
(
)
->
Unit
=
{}
)
:
HttpResponse