src/Transport/Protocol/Http/Curl.php
public function push($request, $response, $options = [])
    {
        $socket = $request instanceof $this->_classes['socket'] ? $request : $this($request, $options);

        $this->_queue[$socket->id()] = [
            'socket'   => $socket,
            'response' => $response
        ];
    }
public function push($request, $response, $options = [])
    {
        $socket = $request instanceof $this->_classes['socket'] ? $request : $this($request, $options);

        $this->_queue[$socket->id()] = [
            'socket'   => $socket,
            'response' => $response
        ];
    }
public function push ( $ request , $ response , $ options = [ ] ) { $ socket = $ request instanceof $ this -> _classes [ 'socket' ] ? $ request : $ this ( $ request , $ options ) ; $ this -> _queue [ $ socket -> id ( ) ] = [ 'socket' => $ socket , 'response' => $ response ] ; }
Push a request in the queue.
Push a request in the queue .