why deepstreamHub? compare us getting started feature roadmap faq
use cases pricing
products
developers
company
blog contact

RpcResult provides access to the response state of a rpc request called via RpcHandler.make(name,data)

Methods

success()

boolean success()

Whether or not the RPC completed successfully

getData()

Object getData()

The data returned by the RPC. If success() is true the resulting data from your rpc, if false data associated with why it failed.