tuweni / org.apache.tuweni.jsonrpc.methods / MethodAllowListHandler

MethodAllowListHandler

class MethodAllowListHandler (source)

Constructors

<init>

MethodAllowListHandler(allowedMethods: List<String>, delegateHandler: (JSONRPCRequest) -> JSONRPCResponse)

Functions

handleRequest

fun handleRequest(request: JSONRPCRequest): JSONRPCResponse