ksrpc-api

Annotation-only module that defines the ksrpc service contract without pulling in runtime dependencies. Contains @KsService, @KsMethod, @KsError, @KsContext, @KsNotification, and the KsContextBinding interface used to declare per-call context propagation.

Packages

Link copied to clipboard
common

Contains KsContextBinding, the interface that bridges a coroutine-context element to and from the wire for @KsContext-annotated methods.

Link copied to clipboard
common

Annotations for declaring RPC services (@KsService, @KsMethod), typed error bindings (@KsError), notification semantics (@KsNotification), method-level timeouts (@KsTimeout), and per-call context propagation (@KsContext). Also includes the @KsMethodMetadata meta-annotation for extending the compiler plugin with custom sibling annotations.