v1.0.0
English

Negotiate.php

system/HTTP/Negotiate.php
1 class 14 methods

class Negotiate

Class Negotiate Provides methods to negotiate with the HTTP headers to determine the best type match between what the application supports and what the requesting server wants.
__construct (?RequestInterface $request = null) public
setRequest (RequestInterface $request) public
media (array $supported, bool $strictMatch = false) public
charset (array $supported) public
encoding (array $supported = []) public
language (array $supported) public
getBestMatch (array $supported, ?string $header = null, bool $enforceTypes = false, bool $strictMatch = false, bool $matchLocales = false, ) protected
getBestLocaleMatch (array $supportedLocales, ?string $header) protected
parseHeader (string $header) public
int ($a, $b) public
string (array $acceptable, string $supported, bool $enforceTypes = false, $matchLocales = false) protected
matchParameters (array $acceptable, array $supported) protected
matchTypes (array $acceptable, array $supported) public
matchLocales (array $acceptable, array $supported) public
phpDG v1.0.0 Negotiate.php 662 files 498 classes 763 fn
Generated