Previous Page
setStatusCode()

Solar_Http_Response
setStatusText()

Next Page
setVersion()

setStatusText()

public Solar_Http_Response setStatusText ( string $text )

Sets the HTTP response status text.

Parameters

  • (string) $text: The status text; if empty, will set the text to the default for the current status code.

Returns

  • (Solar_Http_Response) This response object.

Description

Sets the HTTP response status text.