tuweni / org.apache.tuweni.eth.crawler.rest / PeersService

PeersService

@Path("peers") class PeersService (source)

Constructors

<init>

PeersService()

Properties

context

var context: ServletContext?

Functions

addPeer

fun addPeer(uri: String): Response

getPeer

fun getPeer(publicKeyOrUri: String): Response

getPeers

fun getPeers(from: Int = 0, limit: Int = 10): String

Companion Object Properties

mapper

val mapper: ObjectMapper