Clue\React\Buzz\Io\Transaction::send PHP Method

send() public method

public send ( )
    public function send()
    {
        return $this->next($this->request);
    }

Usage Example

Ejemplo n.º 1
0
 public function send(RequestInterface $request)
 {
     if ($this->baseUri !== null) {
         // ensure we're actually below the base URI
         $request = $request->withUri($this->messageFactory->expandBase($request->getUri(), $this->baseUri));
     }
     $transaction = new Transaction($request, $this->sender, $this->options, $this->messageFactory);
     return $transaction->send();
 }
All Usage Examples Of Clue\React\Buzz\Io\Transaction::send