ksrpc
Toggle table of contents
0.9.4
common
Platform filter
common
Switch theme
Search in API
ksrpc
ksrpc-core
/
com.monkopedia.ksrpc.channels
/
registerDefault
register
Default
inline suspend
fun
<
T
:
RpcService
,
S
>
SingleChannelHost
<
S
>
.
registerDefault
(
service
:
T
)
suspend
fun
<
T
:
RpcService
,
S
>
SingleChannelHost
<
S
>
.
registerDefault
(
service
:
T
,
obj
:
RpcObject
<
T
>
)
Register a service to be hosted on the default channel.