why deepstreamHub? compare us getting started faq
use cases
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.