메소드 |
설명 |
|
assignCommonHeaders ( $fileInfo, aerys\Response $response ) |
|
|
checkPreconditions ( aerys\Request $request, integer $mtime, string $etag ) |
|
|
coalesceIndexPath ( string $dirPath ) : Generator |
|
|
doNonRangeResponse ( $fileInfo, aerys\Response $response ) |
|
|
doRangeResponse ( $range, $fileInfo, aerys\Response $response ) |
|
|
fetchCachedStat ( string $reqPath, aerys\Request $request ) |
|
|
finalizeResponse ( aerys\Response $response, $fileInfo, $range = null ) : Generator |
|
|
loadMimeFileTypes ( string $mimeFile ) |
|
|
lookup ( string $path ) : Generator |
|
|
normalizeByteRanges ( integer $size, string $rawRanges ) |
|
|
respond ( $fileInfo, aerys\Request $request, aerys\Response $response ) |
|
|
respondWithLookup ( string $realPath, string $reqPath, aerys\Request $request, aerys\Response $response ) : Generator |
|
|
selectMimeTypeFromPath ( string $path ) : string |
|
|
sendMultiRange ( $handle, aerys\Response $response, $fileInfo, $range ) : Generator |
|
|
sendNonRange ( Amp\File\Handle $handle, aerys\Response $response ) : Generator |
|
|
sendSingleRange ( Amp\File\Handle $handle, aerys\Response $response, integer $startPos, integer $endPos ) : Generator |
|
|
setAggressiveCacheMultiplier ( float $multiplier ) |
|
|
setBufferedFileMaxCount ( integer $count ) |
|
|
setBufferedFileMaxSize ( integer $bytes ) |
|
|
setCacheEntryMaxCount ( integer $count ) |
|
|
setCacheEntryTtl ( integer $seconds ) |
|
|
setDefaultMimeType ( string $mimeType ) |
|
|
setDefaultTextCharset ( string $charset ) |
|
|
setExpiresPeriod ( integer $seconds ) |
|
|
setIndexes ( $indexes ) |
|
|
setMimeTypes ( array $mimeTypes ) |
|
|
setUseAggressiveCacheHeaders ( boolean $bool ) |
|
|
setUseEtagInode ( boolean $useInode ) |
|
|
shouldBufferContent ( $fileInfo ) |
|
|