src/SAREhub/Commons/Zmq/RequestReply/RequestReceiver.php
public function receiveRequest($wait = self::WAIT)
    {
        return $this->getSocket()->recv(($wait ? 0 : \ZMQ::MODE_DONTWAIT));
    }
public function receiveRequest($wait = self::WAIT)
    {
        return $this->getSocket()->recv(($wait ? 0 : \ZMQ::MODE_DONTWAIT));
    }
public function receiveRequest ( $ wait = self :: WAIT ) { return $ this -> getSocket ( ) -> recv ( ( $ wait ? 0 : \ ZMQ :: MODE_DONTWAIT ) ) ; }
Getting next request from socket.
@param bool $wait If true call will waits for next request.
@return string
@throws \ZMQSocketException
Getting next request from socket .