All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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
    // LOWPRIO: Improve server testing with "in-memory-server" client generation
 //    public val createMemoryClient: (server: Server) -> Client
    public val createInvoker: (HandlerConfig) -> Invoker
    public val router: RpcRouter
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy