diff options
Diffstat (limited to 'tests/plugins/server/tcp.php')
-rw-r--r-- | tests/plugins/server/tcp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/server/tcp.php b/tests/plugins/server/tcp.php index 88c49848..873f25b2 100644 --- a/tests/plugins/server/tcp.php +++ b/tests/plugins/server/tcp.php @@ -13,7 +13,7 @@ $rr = new RoadRunner\Worker($relay); while ($in = $rr->waitPayload()) { try { - $rr->send((string)$in->body); + $rr->respond(new RoadRunner\Payload((string)$in->body)); } catch (\Throwable $e) { $rr->error((string)$e); } |