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(_:data:)

Methods

success()

class func success() -> Bool

Whether or not the RPC completed successfully

getData()

class func getData() -> Any

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