Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

did not get anything in my backend #34

Open
gautamsinh opened this issue Jan 16, 2020 · 0 comments
Open

did not get anything in my backend #34

gautamsinh opened this issue Jan 16, 2020 · 0 comments

Comments

@gautamsinh
Copy link

I can not get any response in my backend

Here is mycode

`require_once DIR . '/../vendor/autoload.php'; // Autoload files using Composer autoload
include 'process.php';

use SocketIO\Emitter;

$emitter = new SocketIO\Emitter(array('port' => '5037', 'host' => 'myhost'));
// broadcast can be replaced by any of the other flags
$json['chat']="ded27825e3-0hus5w4vkg1h-664";
$json['message']="Form php";
$json['type']=1;
$json['toBotId']=538;
// $json = json_encode($json, JSON_UNESCAPED_UNICODE);
$emitter->broadcast->emit('sendChatNew', array('chat' => 'ded27825e3-hq7v4dxgsho-295', 'message' => 'very object','type' =>1,'toBotId' =>538));`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant