public function setRequestHandler($handler)
    {
        $this->requestHandler = $handler;

        $this->requestHandler->setUri($this->url)
            ->setMethod($this->method);

        $this->requestHandler->getUri()->setPort($this->port);

        return $this;
    }
public function setRequestHandler($handler)
    {
        $this->requestHandler = $handler;

        $this->requestHandler->setUri($this->url)
            ->setMethod($this->method);

        $this->requestHandler->getUri()->setPort($this->port);

        return $this;
    }
public function setRequestHandler ( $ handler ) { $ this -> requestHandler = $ handler ; $ this -> requestHandler -> setUri ( $ this -> url ) -> setMethod ( $ this -> method ) ; $ this -> requestHandler -> getUri ( ) -> setPort ( $ this -> port ) ; return $ this ; }
Sets request handler

@param \Zend\Http\Client $handler
@return RemoteCompiler
Sets request handler