php8.5
Home/ Manual/ reference / yaf/ The Yaf_Response_Http class

The Yaf_Response_Http class

Yaf_Response_Http is the response adapter used for web requests. It accumulates the headers and body set during the dispatch cycle and sends them to the client when the dispatch completes, unless Yaf_Dispatcher::returnResponse is enabled.

Intro

Yaf_Response_Http is the response adapter used for web requests. It accumulates the headers and body set during the dispatch cycle and sends them to the client when the dispatch completes, unless Yaf_Dispatcher::returnResponse is enabled.

Class synopsis

class Yaf_Response_Http { }

Properties

_header
_body
_sendheader
_response_code

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