setHeader method

void setHeader(
  1. String header,
  2. String value
)

Implementation

void setHeader(String header, String value) {
  response.headers.set(header, value);
}