Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Server::existSwoole\Server::getClientInfo>
^Swoole\ServerLast updated: Mon, 26 Oct 2026

Swoole\Server::finish

(PECL swoole >= 1.9.0)

Swoole\Server::finish — Used in task process for sending result to the worker process when the task is finished.

Description

public function Swoole\Server::finish(string $data): void

Parameters

data

Return Values


<Swoole\Server::existSwoole\Server::getClientInfo>
^Swoole\ServerLast updated: Mon, 26 Oct 2026