code: public function addHeaders(array $headers):void
      {
          foreach ($headers as $name => $value) {
              $this->addHeader((string)$name, $value);
          }
      }
docs: Adds multiple headers.
  
  @param array $headers