setRequestHeader method

dynamic setRequestHeader(
  1. String key,
  2. String value
)

Implementation

setRequestHeader(String key, String value) {
  headers[key] = value;
}