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

There is a newer version: 0.13.0
Show newest version
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