0 follower

Yii Framework 3.0 API Documentation

This is the Yii Framework API Documentation. Here you will find detailed information about all classes provided by the Framework. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.

On this page you find all the classes included in version 3.0 of the framework. You can use the dropdown menu on the top right to switch between versions.

You can search API documentation using the search form on the top. You can search for class names and also method and property names, e.g. ActiveRecord.save() or just .save() or ::save().

This page is also available in JSON format:
curl https://www.yiiframework.com/doc/api/3.0/proxy-middleware -H 'Accept: application/json'

Class Description
Yiisoft\ProxyMiddleware\Exception\InvalidConnectionChainItemException Used by {@see TrustedHostsNetworkResolver}. Thrown when resolved data of connection chain item - either IP, protocol, host or port is invalid.
Yiisoft\ProxyMiddleware\Exception\RfcProxyParseException Used by {@see TrustedHostsNetworkResolver}. Thrown when parsing of {@see FORWARDED_HEADER_RFC} failed. Forwarded header is expected to meet the requirements described in RFC 7239.
Yiisoft\ProxyMiddleware\IpValidator
Yiisoft\ProxyMiddleware\TrustedHeaderProtocolResolver Trusted header protocol resolver sets a server request protocol based on a special header you trust such as X-Forwarded-Proto.
Yiisoft\ProxyMiddleware\TrustedHostsNetworkResolver Scans the entire connection chain and resolves the data from forwarded headers taking into account trusted IPs.