We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 571226d commit 7dfd343Copy full SHA for 7dfd343
2 files changed
src/Api.php
@@ -46,7 +46,7 @@ public function trigger($channels, $event, $data, $socket_id = null)
46
}
47
$query_params = array();
48
$s_url = $this->_settings['base_path'] . '/events';
49
- $data_encoded = json_encode($data);
+ $data_encoded = json_encode($data, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
50
$post_params = array();
51
$post_params['name'] = $event;
52
$post_params['data'] = $data_encoded;
0 commit comments