PHP Class Aerys\Options

Inheritance: use trait Amp\Struct
Afficher le fichier Open project: amphp/aerys

Méthodes publiques

Méthode Description
__construct ( )
__get ( string $property ) : mixed Allow retrieval of "public" properties
__set ( string $property, mixed $value ) Prevent external code from modifying our "public" time/date properties

Private Methods

Méthode Description
setAllowedMethods ( array $allowedMethods )
setChunkBufferSize ( integer $bytes )
setConfigPath ( string $config )
setConnectionsPerIP ( integer $count )
setDebug ( boolean $flag )
setDefaultContentType ( string $contentType )
setDefaultTextCharset ( string $charset )
setDeflateBufferSize ( integer $bytes )
setDeflateEnable ( boolean $flag )
setDeflateMinimumLength ( integer $bytes )
setDisableKeepAlive ( boolean $flag )
setIoGranularity ( integer $bytes )
setKeepAliveTimeout ( integer $seconds )
setMaxBodySize ( integer $bytes )
setMaxConcurrentStreams ( integer $streams )
setMaxConnections ( integer $count )
setMaxFieldLen ( integer $bytes )
setMaxFramesPerSecond ( integer $frames )
setMaxHeaderSize ( integer $bytes )
setMaxInputVars ( integer $bytes )
setMaxKeepAliveRequests ( integer $count )
setNormalizeMethodCase ( boolean $flag )
setOutputBufferSize ( integer $bytes )
setSendServerToken ( boolean $flag )
setShutdownTimeout ( integer $milliseconds )
setSocketBacklogSize ( integer $backlog )
setSoftStreamCap ( integer $bytes )
setUser ( string $user = null ) Note this is a required string|null parameter, just = null because we don't have proper union types with null yet.

Method Details

__construct() public méthode

public __construct ( )

__get() public méthode

Allow retrieval of "public" properties
public __get ( string $property ) : mixed
$property string
Résultat mixed Returns the value of the requested property

__set() public méthode

Prevent external code from modifying our "public" time/date properties
public __set ( string $property, mixed $value )
$property string
$value mixed