code: protected function forward(string $name, bool $pipe = false) {
          parent::forward($name);
          $remote = $this->connection->remotes[$name];
          $remote->pipe($this->connection);
          if ($pipe)
              $this->connection->pipe($remote);
          else
              $this->connection->onClose = function () use ($remote) {
                  $remote->close();
              };
          $remote->connect();
          $remote->send($this->requestData);
      }
docs: 转发HTTP请求
  
  @param string $name
  @param bool $pipe