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
 
<LiteSpeed Functionslitespeed_request_headers>
^LiteSpeed FunctionsLast updated: Mon, 26 Oct 2026

litespeed_finish_request

(PHP 7 >= 7.2.18, PHP 8)

litespeed_finish_request — Flushes all response data to the client

Description

function litespeed_finish_request(): bool

This function flushes all response data to the client and finishes the request. This allows for time consuming tasks to be performed without leaving the connection to the client open.

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.

Changelog

Version Description
7.2.18 This function became available.

See Also


<LiteSpeed Functionslitespeed_request_headers>
^LiteSpeed FunctionsLast updated: Mon, 26 Oct 2026