Class: Response


new Response()

A Response object is returned from a chaincode invocation
Name Type Description
status number A status code that follows the HTTP status codes
message string A message associated with the response code
payload Array.<byte> A payload that can be used to include metadata with this response