This repository was archived by the owner on Oct 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ before_script:
2020 # - $gnats &
2121 - make deps
2222script :
23- - make cs
23+ # - make cs
2424 - mkdir -p build/logs
2525 - make test
2626after_script :
Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ $callback = function($payload)
6767$client->subscribe("foo", $callback);
6868
6969# Request
70- $c ->request('sayhello', 'Marty McFly', function ($response) {
70+ $client ->request('sayhello', 'Marty McFly', function ($response) {
7171 echo $response->getBody();
7272});
7373
7474# Responding to requests
75- $sid = $c ->subscribe("sayhello", function ($res) {
75+ $sid = $client ->subscribe("sayhello", function ($res) {
7676 $res->reply("Hello, " . $res->getBody() . " !!!");
7777});
7878
Original file line number Diff line number Diff line change 1- 0.6.0
1+ 0.6.1
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ private function handleMSG($line)
341341 $ sid = $ parts [2 ];
342342
343343 if (count ($ parts ) == 5 ) {
344- $ length = $ parts [5 ];
344+ $ length = $ parts [4 ];
345345 $ subject = $ parts [3 ];
346346 } elseif (count ($ parts ) == 4 ) {
347347 $ length = $ parts [3 ];
You can’t perform that action at this time.
0 commit comments