tuweni / org.apache.tuweni.scuttlebutt.lib / RawRequestService

RawRequestService

class RawRequestService (source)

Intended to make RPC requests which aren't supported by the higher level services possible. We cannot support every desired RPC request with higher level abstractions because it's possible to define custom plugins with custom endpoints.

Functions

makeAsyncRequest

fun makeAsyncRequest(request: RPCAsyncRequest!): AsyncResult<RPCResponse!>!

openStream

fun openStream(request: RPCStreamRequest!, streamFactory: Function<Runnable!, ScuttlebuttStreamHandler!>!): Unit