commonMain.com.caesarealabs.rpc4k.runtime.user.Rpc4kIndex.kt Maven / Gradle / Ivy
package com.caesarealabs.rpc4k.runtime.user
import com.caesarealabs.rpc4k.runtime.api.HandlerConfig
import com.caesarealabs.rpc4k.runtime.api.RpcClient
import com.caesarealabs.rpc4k.runtime.api.RpcRouter
import com.caesarealabs.rpc4k.runtime.api.SerializationFormat
public interface Rpc4kIndex {
public val createNetworkClient: (rpcClient: RpcClient, format: SerializationFormat) -> Client
//TODO:
// public val createMemoryClient: (server: Server) -> Client
public val createInvoker: (HandlerConfig) -> Invoker
public val router: RpcRouter
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy