Anonymous Anonymous - 3 months ago
965 0

No description

PHP

emit_test.php

<?php
include("vendor/autoload.php");

use ElephantIO\Client;
use ElephantIO\Engine\SocketIO\Version1X;

$version= new Version1X('http://localhost:3000');

$client=new Client($version);

$client->initialize();
$client->emit("new_order", ["test"=>"test", "test1"=>"test1"]);
$client->close();
?>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download