A repository for the response headers.
BearFramework\App\Response\Headers {

/* Methods */
public self delete string $name )
bool exists string $name )
BearFramework\App\Response\Header|null get string $name )
BearFramework\DataList|BearFramework\App\Response\Header[] getList void )
string|null getValue string $name )
BearFramework\App\Response\Header make ( [ string|null $name [, string|null $value ]] )
self set BearFramework\App\Response\Header $header )

public self delete ( string $name )
Deletes a header if exists.
public bool exists ( string $name )
Returns information whether a header with the name specified exists.
public BearFramework\App\Response\Header|null get ( string $name )
Returns a header or null if not found.
Returns a list of all headers.
public string|null getValue ( string $name )
Returns the value of the header or null if not found.
public BearFramework\App\Response\Header make ( [ string|null $name [, string|null $value ]] )
Constructs a new header and returns it.
public self set ( BearFramework\App\Response\Header $header )
Sets a header.
Location: ~/src/App/Response/Headers.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.