new Response()
A Response object is returned from a chaincode invocation
Properties:
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 |