PHP Class PHPDaemon\Applications\FileReaderRequest

Inheritance: extends PHPDaemon\HTTPRequest\Generic
Exibir arquivo Open project: kakserpom/phpdaemon

Public Properties

Property Type Description
$indexFile
$job
$stream

Public Methods

Method 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 method

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

file() public method

public file ( $path )
$path

fileNotFound() public method

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

init() public method

Constructor.
public init ( ) : void
return void

onAbort() public method

Called when the request aborted.
public onAbort ( )

run() public method

Called when request iterated.
public run ( ) : integer
return integer Status.

Property Details

$indexFile public_oe property

public $indexFile

$job public_oe property

public $job

$stream public_oe property

public $stream