onUnhandled

abstract suspend fun <T> onUnhandled(method: String, input: CallData<T>): CallData<T>

Invoked when an incoming call targets an endpoint that is not registered on this service.

Return

The serialized payload to return to the caller.

Parameters

method

The endpoint name the caller requested (with any leading / stripped, matching how registered endpoints are stored).

input

The serialized call payload as it arrived on the wire.