tuweni / org.apache.tuweni.jsonrpc.methods / MeteredHandler

MeteredHandler

class MeteredHandler (source)

Constructors

<init>

MeteredHandler(successCounter: LongCounter, failCounter: LongCounter, delegateHandler: (JSONRPCRequest) -> JSONRPCResponse)

Functions

handleRequest

fun handleRequest(request: JSONRPCRequest): JSONRPCResponse