setRequestHeader method

void setRequestHeader(
  1. String name,
  2. String value
)

Implementation

void setRequestHeader(String name, String value) =>
    js_util.callMethod(this, 'setRequestHeader', [name, value]);