src/SAREhub/Commons/Zmq/RequestReply/RequestSender.php
public function sendRequest($request, $wait = self::WAIT)
    {
        $this->getSocket()->send($request, ($wait) ? 0 : \ZMQ::MODE_DONTWAIT);
        return $this;
    }
public function sendRequest($request, $wait = self::WAIT)
    {
        $this->getSocket()->send($request, ($wait) ? 0 : \ZMQ::MODE_DONTWAIT);
        return $this;
    }
public function sendRequest ( $ request , $ wait = self :: WAIT ) { $ this -> getSocket ( ) -> send ( $ request , ( $ wait ) ? 0 : \ ZMQ :: MODE_DONTWAIT ) ; return $ this ; }
Send request via ZMQ socket.
@param string $request Request payload.
@param bool $wait If true that operation would be block.
@return $this
@throws \ZMQSocketException
Send request via ZMQ socket .