krosstalkCall

suspend fun krosstalkCall(): Nothing

Placeholder for a Krosstalk client side method. Will be replaced by the compiler plugin.


suspend fun krosstalkCall(serverUrl: String?): Nothing

Placeholder for a Krosstalk client side method. Will be replaced by the compiler plugin.

serverUrl will override the KrosstalkClient.serverUrl if non-null, and be overridden by ServerURL parameters in turn.


suspend fun krosstalkCall(requestHeaders: Headers): Nothing

Placeholder for a Krosstalk client side method. Will be replaced by the compiler plugin.

requestHeaders will be added to the request (along with request headers added anywhere else).


suspend fun krosstalkCall(vararg scopes: ScopeInstance<*>): Nothing
suspend fun krosstalkCall(scopes: Iterable<ScopeInstance<*>>): Nothing

Placeholder for a Krosstalk client side method. Will be replaced by the compiler plugin.

scopes are additional scopes to apply to the call. Passing an instance of a scope already specified by a parameter will cause a DuplicateScopeException when the method is called.


suspend fun krosstalkCall(serverUrl: String? = null, requestHeaders: Headers = headersOf(), scopes: Iterable<ScopeInstance<*>> = emptyList()): Nothing
suspend fun krosstalkCall(serverUrl: String? = null, requestHeaders: Headers = headersOf(), vararg scopes: ScopeInstance<*>): Nothing

Placeholder for a Krosstalk client side method. Will be replaced by the compiler plugin.

serverUrl will override the KrosstalkClient.serverUrl if non-null, and be overridden by ServerURL parameters in turn.

requestHeaders will be added to the request (along with request headers added anywhere else).

scopes are additional scopes to apply to the call. Passing an instance of a scope already specified by a parameter will cause a DuplicateScopeException when the method is called.