AccessControlRequestHeadersHeader
in package
Table of Contents
Methods
- __construct() : mixed
- getHeaders() : array<string|int, mixed>
- isAllowed() : bool
- parse() : AccessControlRequestHeadersHeader
Methods
__construct()
public
__construct(array<string|int, mixed> $headers) : mixed
Parameters
- $headers : array<string|int, mixed>
getHeaders()
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>isAllowed()
public
isAllowed(string $header) : bool
Parameters
- $header : string
Return values
boolparse()
public
static parse(HttpHeader $header) : AccessControlRequestHeadersHeader
Parameters
- $header : HttpHeader