Skip to content

did not get anything in my backend #34

@gautamsinh

Description

@gautamsinh

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));`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions