Header
A class which represents an HTTP request or response header
Table of Contents
- $name : string
- The name of the header
- $value : string
- The value of the header
- __construct() : mixed
- getName() : string
- Function which return the value of the header's name
- getValue() : string
- Function which return the value of the header
Properties
$name
The name of the header
private
string
$name
$value
The value of the header
private
string
$value
Methods
__construct()
public
__construct(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
Return values
mixed —getName()
Function which return the value of the header's name
public
getName() : string
Return values
string —getValue()
Function which return the value of the header
public
getValue() : string