Krosstalk Core
Common Krosstalk APIs that are used be both clients and servers, and everything required to define an expect
Krosstalk. Includes Krosstalk
, Scope
, KrosstalkResult
, etc.
Artifact: com.github.rnett.krosstalk:krosstalk
Usually the only source set that needs to explicitly depend on this artifact is the common
one, source sets or modules with Krosstalk client or servers will inherit it.
The reason this artifact is separate is to allow for defining a common interface for the client and server. Kotlin's expect-actual
mechanism can be used to force client and server methods to have the same signature, and configuration annotations can be placed on the expect
methods.
For usage instructions, see the github readme.
Packages
APIs for KrosstalkResult
. See the instructions on error handling.