Pusher-CI icon indicating copy to clipboard operation
Pusher-CI copied to clipboard

presence_auth responce

Open arirasekh opened this issue 12 years ago • 0 comments

I'm calling presence_auth and finding that authorization seems not to be working. I think there's an issue with the way socket_auth() is returning the auth string in the Pusher-CI library as it seems to return no value. I say this because when I replace this:

$this->CI->output->set_content_type('application/json')->set_output(json_encode($signature));

with this (from the Pusher-PHP class):

return json_encode($signature);

Then everything works great. I'm not sure what the former actually does. Can you explain? Any ideas why it isn't working for me?

arirasekh avatar Mar 29 '12 03:03 arirasekh