Kraken\Channel\ChannelInterface::pushRequest PHP Method

pushRequest() public method

This method only enables pushing requests. For more complex options use push() method.
See also: ChannelInterface::push
public pushRequest ( string | string[] $name, string | string[] | Kraken\Channel\Protocol\ProtocolInterface $message, integer $flags = Channel::MODE_DEFAULT, callable $success = null, callable $failure = null, callable $cancel = null, float $timeout ) : RequestRecord | RequestRecord[] | null | null[]
$name string | string[]
$message string | string[] | Kraken\Channel\Protocol\ProtocolInterface
$flags integer
$success callable
$failure callable
$cancel callable
$timeout float
return Kraken\Channel\Record\RequestRecord | Kraken\Channel\Record\RequestRecord[] | null | null[]
    public function pushRequest($name, $message, $flags = Channel::MODE_DEFAULT, callable $success = null, callable $failure = null, callable $cancel = null, $timeout = 0.0);