/**
  * Append to the HTTP body.
  *
  * As data is appended to the body the $length
  * property is incremented accordingly.
  *
  * @param string $string
  * @return Proem\Api\IO\Response\Template;
  */
 public function appendToBody($string)
 {
     $string = (string) $string;
     $this->length += strlen($string);
     $this->body .= $string;
     $this->headers->set('Content-Length', $this->length);
     return $this;
 }
 /**
  * Store route objects.
  *
  * @param string $name
  * @param Proem\Api\Routing\Route\Template $route
  * @return Proem\Api\Signal\Manager\Template
  */
 public function attach($name, Route $route)
 {
     $this->routes->set($name, $route);
     return $this;
 }