HashGraph.wavefront_response

Converts a received wave-front to a response. Handles the wavefront-state dependent response. If the package is not recognized the an HiRPC error response is generated

class HashGraph
HiRPC.Sender
wavefront_response
(
const HiRPC.Receiver received
,
lazy const(sdt_t) time
,
lazy const(Document) payload
)

Parameters

received HiRPC.Receiver

The received wave-front method

time const(sdt_t)

Time of the creation of the response

payload const(Document)

payload added to the event send with the response

Return Value

HiRPC response package