Skip to content

Commit

Permalink
Fix callback
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Feb 25, 2024
1 parent 501176e commit ed056ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Servers/Workerman.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
$request->session()->set('foo', 'bar');
$connection->send('');
})(),
'/session' => $connection->send($request->session()->pull('foo')),
'/session' => $connection->send(cookies($request)),
'/sse' => (function () use ($connection) {
$connection->send(new Response(200, ['Content-Type' => 'text/event-stream'], "\r\n"));
$i = 0;
Expand Down

0 comments on commit ed056ac

Please sign in to comment.