Package com.rnett.krosstalk

Contains the default values for annotations, and the special parameter keys for endpoints (i.e. extensionReceiver).

Also has the base KrosstalkException and the KrosstalkPluginApi annotation.

Types

Link copied to clipboard

Marks an API as an internal Krosstalk API, that shouldn't be used.

Link copied to clipboard
abstract class KrosstalkException @InternalKrosstalkApi constructor(message: String, cause: Throwable?) : RuntimeException
Link copied to clipboard

Marks an API that is intended to be used with implementing new clients or servers, and shouldn't be used otherwise.

Properties

Link copied to clipboard
const val defaultEndpoint: String

The default endpoint of krosstalk methods.

Link copied to clipboard
const val defaultEndpointHttpMethod: String

The default HTTP method for krosstalk methods.

Link copied to clipboard
const val extensionReceiver: String

The key used for extension receiver parameters/arguments in parameter/argument maps and KrosstalkEndpoint templates.

Link copied to clipboard
const val instanceReceiver: String

The key used for instance/dispatch receiver parameters/arguments in parameter/argument maps and KrosstalkEndpoint templates.

Link copied to clipboard
const val krosstalkPrefix: String

The key to use the Krosstalk object's Krosstalk.endpointPrefix in a KrosstalkEndpoint template.

Link copied to clipboard
const val methodName: String

The key to use the method's name in a KrosstalkEndpoint template.