addHeader method

void addHeader (String name, String value)

Adds a header to this request.

Implementation

void addHeader(String name, String value) {
  headers[name] = value;
}