public function createRequest()
    {
        return $this->getHttpClient()
            ->createRequest()
            ->addOptions($this->defaultRequestOptions())
            ->addOptions($this->getRequestOptions());
    }
public function createRequest()
    {
        return $this->getHttpClient()
            ->createRequest()
            ->addOptions($this->defaultRequestOptions())
            ->addOptions($this->getRequestOptions());
    }
public function createRequest ( ) { return $ this -> getHttpClient ( ) -> createRequest ( ) -> addOptions ( $ this -> defaultRequestOptions ( ) ) -> addOptions ( $ this -> getRequestOptions ( ) ) ; }
Creates HTTP request instance.
@return \yii\httpclient\Request HTTP request instance.
@since 2.1
Creates HTTP request instance .