php-binance-api.php
public function keepAlive()
    {
        $loop = \React\EventLoop\Factory::create();
        $loop->addPeriodicTimer(30, function () {
            $listenKey = $this->listenKey;
            $this->httpRequest("v1/userDataStream?listenKey={$listenKey}", "PUT", []);
        });
        $loop->run();
    }
public function keepAlive()
    {
        $loop = \React\EventLoop\Factory::create();
        $loop->addPeriodicTimer(30, function () {
            $listenKey = $this->listenKey;
            $this->httpRequest("v1/userDataStream?listenKey={$listenKey}", "PUT", []);
        });
        $loop->run();
    }
public function keepAlive ( ) { $ loop = \ React \ EventLoop \ Factory :: create ( ) ; $ loop -> addPeriodicTimer ( 30 , function ( ) { $ listenKey = $ this -> listenKey ; $ this -> httpRequest ( "v1/userDataStream?listenKey={$listenKey}" , "PUT" , [ ] ) ; } ) ; $ loop -> run ( ) ; }
keepAlive Keep-alive function for userDataStream

$api->keepAlive();

@return null
keepAlive Keep - alive function for userDataStream