setHeaders()
Overview
public any function setHeaders(
required struct headers
)
Sets headers on the rest response object. Can be called multiple times to build a greater collection of headers
Arguments
Name | Type | Required | Description |
---|---|---|---|
headers | struct | Yes | Structure containing headers where struct keys are header names and values are corresponding header values |