using EdjCase.JsonRpc.Core; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EdjCase.JsonRpc.Router.Abstractions { /// /// Rpc method response object that allows the server to customize an rpc response /// public interface IRpcMethodResult { /// /// Turns result data into a rpc response /// /// Rpc request id /// Json serializer function to use for objects for the response /// Rpc response for request RpcResponse ToRpcResponse(RpcId id); } }