BetterModel
Toggle table of contents
1.5.1-SNAPSHOT-92
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.util
/
HttpUtil
Http
Util
class
HttpUtil
Members
Types
Http
Client
Consumer
Link copied to clipboard
@
FunctionalInterface
interface
HttpClientConsumer
<
T
>
Latest
Version
Link copied to clipboard
class
LatestVersion
:
Record
Plugin
Version
Link copied to clipboard
class
PluginVersion
:
Record
Result
Link copied to clipboard
interface
Result
<
T
>
Functions
client
Link copied to clipboard
open
fun
<
T
>
client
(
@
NotNull
consumer
:
HttpUtil.HttpClientConsumer
<
T
>
)
:
@
NotNull
HttpUtil.Result
<
T
>
latest
Of
Link copied to clipboard
@
NotNull
open
fun
latestOf
(
@
NotNull
versions
:
List
<
HttpUtil.PluginVersion
>
)
:
HttpUtil.LatestVersion
version
List
Link copied to clipboard
@
NotNull
open
fun
versionList
(
)
:
HttpUtil.LatestVersion
@
NotNull
open
fun
versionList
(
@
NotNull
version
:
MinecraftVersion
)
:
HttpUtil.LatestVersion