tuweni / org.apache.tuweni.jsonrpc.app / JSONRPCConfig

JSONRPCConfig

class JSONRPCConfig (source)

Configuration of the JSON-RPC server as a TOML-based file.

Constructors

<init>

Configuration of the JSON-RPC server as a TOML-based file.

JSONRPCConfig(filePath: Path)

Properties

config

val config: Configuration!

filePath

val filePath: Path

Functions

allowedMethods

fun allowedMethods(): MutableList<String!>!

allowedRanges

fun allowedRanges(): MutableList<String!>!

basicAuthPassword

fun basicAuthPassword(): String!

basicAuthRealm

fun basicAuthRealm(): String!

basicAuthUsername

fun basicAuthUsername(): String!

clientFingerprintsFile

fun clientFingerprintsFile(): Path

metricsGrpcPushEnabled

fun metricsGrpcPushEnabled(): Boolean

metricsNetworkInterface

fun metricsNetworkInterface(): String!

metricsPort

fun metricsPort(): Int

metricsPrometheusEnabled

fun metricsPrometheusEnabled(): Boolean

networkInterface

fun networkInterface(): String!

numberOfThreads

fun numberOfThreads(): Int

port

fun port(): Int

rejectedRanges

fun rejectedRanges(): MutableList<String!>!

ssl

fun ssl(): Boolean

useBasicAuthentication

fun useBasicAuthentication(): Boolean

Companion Object Functions

schema

fun schema(): Schema!