PHP 클래스 Aerys\Options

상속: use trait Amp\Struct
파일 보기 프로젝트 열기: amphp/aerys

공개 메소드들

메소드 설명
__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

비공개 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

public __construct ( )

__get() 공개 메소드

Allow retrieval of "public" properties
public __get ( string $property ) : mixed
$property string
리턴 mixed Returns the value of the requested property

__set() 공개 메소드

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