PHP Class PHPDaemon\Applications\FileReaderRequest

Inheritance: extends PHPDaemon\HTTPRequest\Generic
Afficher le fichier Open project: kakserpom/phpdaemon

Méthodes publiques

Свойство Type Description
$indexFile
$job
$stream

Méthodes publiques

Méthode Description
autoindex ( $path, $dir )
file ( $path )
fileNotFound ( ) Send header 404 or, if not possible already, response "File not found"
init ( ) : void Constructor.
onAbort ( ) Called when the request aborted.
run ( ) : integer Called when request iterated.

Method Details

autoindex() public méthode

public autoindex ( $path, $dir )
$path
$dir

file() public méthode

public file ( $path )
$path

fileNotFound() public méthode

Send header 404 or, if not possible already, response "File not found"
public fileNotFound ( )

init() public méthode

Constructor.
public init ( ) : void
Résultat void

onAbort() public méthode

Called when the request aborted.
public onAbort ( )

run() public méthode

Called when request iterated.
public run ( ) : integer
Résultat integer Status.

Property Details

$indexFile public_oe property

public $indexFile

$job public_oe property

public $job

$stream public_oe property

public $stream