addHeader method

void addHeader(
  1. HTTPHeader header
)

Implementation

void addHeader(HTTPHeader header) {
  this[header.name] = header.value;
}