Overview
public any function setData(
required any data
)
Sets the data of the response. This data will later be converted into whichever response format is specified for the request (json by default)
Arguments
| Name | Type | Required | Description |
|---|
| data | any | Yes | the data to set |