Interface CodeIgniter\HTTP\ResponseInterface

extends MessageInterface

Representation of an outgoing, server-side response. Most of these methods are supplied by ResponseTrait.

Per the HTTP specification, this interface includes properties for each of the following:

  • Protocol version
  • Status code and reason phrase
  • Headers
  • Message body
Methods
Methods inherited from CodeIgniter\HTTP\MessageInterface
getProtocolVersion(), setBody(), getBody(), appendBody(), populateHeaders(), headers(), hasHeader(), header(), getHeaderLine(), setHeader(), removeHeader(), appendHeader(), prependHeader(), setProtocolVersion()
Constants