php8.5
Home/ Manual/ http / response/ Swoole\Http\Response::write

Swoole\Http\Response::write

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Append HTTP body content to the HTTP response.

Description

Swoole\Http\Response::write(string $content): void

Append HTTP body content to the HTTP response.

Parameters

content

Return Values

Source: reference/swoole/swoole/http/response/write.xml · from the official PHP manual (php/doc-en)