HumHub Documentation (unofficial)

UserAgent
in package
implements HeaderInterface

Tags
see
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43
throws
InvalidArgumentException

Table of Contents

Interfaces

HeaderInterface
Interface for HTTP Header classes.

Properties

$value  : string

Methods

__construct()  : mixed
fromString()  : static
Factory to generate a header object from a string
getFieldName()  : string
Retrieve header name
getFieldValue()  : string
Retrieve header value
toString()  : string
Cast to string

Properties

Methods

__construct()

public __construct([null|string $value = null ]) : mixed
Parameters
$value : null|string = null

fromString()

Factory to generate a header object from a string

public static fromString(string $headerLine) : static
Parameters
$headerLine : string
Return values
static

getFieldName()

Retrieve header name

public getFieldName() : string
Return values
string

getFieldValue()

Retrieve header value

public getFieldValue() : string
Return values
string

toString()

Cast to string

public toString() : string
Return values
string

        
On this page

Search results