Kotlin version of the ActivityPub protocol client SDK, used to communicate with the ActivityPub server. Support Kotlin Multiplatform.
val client = ActivityPubClient(
baseUrl = "${baseUrl}/",
engine = httpClientEngine,
json = globalJson,
tokenProvider = tokenProvider,
onAuthorizeFailed = {
},
)
client.searchRepo.query()implementation("io.github.0xzhangke:activity-pub-client:1.0.0")