UpgradeHeader
Table of Contents
Methods
-
__construct()
: mixed
-
getProtocols()
: array<string|int, mixed>
-
isAccepted()
: bool
-
parse()
: UpgradeHeader
__construct()
public
__construct(array<string|int, mixed> $protocols) : mixed
Parameters
-
$protocols
: array<string|int, mixed>
-
getProtocols()
public
getProtocols() : array<string|int, mixed>
Return values
array<string|int, mixed>
isAccepted()
public
isAccepted(string $protocol) : bool
Parameters
-
$protocol
: string
-
parse()
public
static parse(HttpHeader $header) : UpgradeHeader
Parameters
-
$header
: HttpHeader
-