ParsedHeaderValues

A container with the request's headers that are meaningful enough to be parsed Contains: <ul> <li>Accept -> MIME header, parameters and sortable</li> <li>Accept-Charset -> Parameters and sortable</li> <li>Accept-Encoding -> Parameters and sortable</li> <li>Accept-Language -> Parameters and sortable</li> <li>Content-Type -> MIME header and parameters</li> </ul>

package

Default

Methods

__construct

__construct() 

accept

accept() : array

Response

array

List of MIME values in the {@code Accept} header

acceptCharset

acceptCharset() : array

Response

array

List of charset values in the {@code Accept-Charset} header

acceptEncoding

acceptEncoding() : array

Response

array

List of encofing values in the {@code Accept-Encoding} header

acceptLanguage

acceptLanguage() : array

Response

array

List of languages in the {@code Accept-Language} header

contentType

contentType() : \io\vertx\jphp\ext\web\MIMEHeader

Response

\io\vertx\jphp\ext\web\MIMEHeader

MIME value in the {@code Content-Type} header