public function send()
    {
        if (!$this->client) {
            throw new RuntimeException('A client must be set on the request');
        }

        if (null === $this->configuration->url) {
            $this->configuration->url = $this->getUrl()->toString();
        }
        $this->prepare();

        return $this->client->send($this);
    }
public function send()
    {
        if (!$this->client) {
            throw new RuntimeException('A client must be set on the request');
        }

        if (null === $this->configuration->url) {
            $this->configuration->url = $this->getUrl()->toString();
        }
        $this->prepare();

        return $this->client->send($this);
    }
public function send ( ) { if ( ! $ this -> client ) { throw new RuntimeException ( 'A client must be set on the request' ) ; } if ( null === $ this -> configuration -> url ) { $ this -> configuration -> url = $ this -> getUrl ( ) -> toString ( ) ; } $ this -> prepare ( ) ; return $ this -> client -> send ( $ this ) ; }
Send method.
To send a request, a client must be linked
@return \Bee4\Transport\Message\Response
@throws RuntimeException
Send method . To send a request a client must be linked