Add an RPC endpoint
Path of the endpoint (e.g., '/execute')
Module whose methods can be executed via the RPC endpoint
RPC endpoint options
Add a custom RPC endpoint
Instance of a class extending the 'RpcEndpoint' class
Initialize class attributes based on the provided command line arguments, environment variables and provided instance options
Register all endpoints to the given server object
Start the RPC server:
Stop the RPC server (print an error message if the server is not running)
RPC Server class