class WebServer

Manages a local HTTP web server.

Constants

STARTED

STOPPED

Methods

run(WebServerConfig $config, $disableOutput = true, callable $callback = null)

No description

start(WebServerConfig $config, $pidFile = null)

No description

stop($pidFile = null)

No description

getAddress($pidFile = null)

No description

isRunning($pidFile = null)

No description

Details

at line 28
run(WebServerConfig $config, $disableOutput = true, callable $callback = null)

Parameters

WebServerConfig $config
$disableOutput
callable $callback

at line 58
start(WebServerConfig $config, $pidFile = null)

Parameters

WebServerConfig $config
$pidFile

at line 101
stop($pidFile = null)

Parameters

$pidFile

at line 111
getAddress($pidFile = null)

Parameters

$pidFile

at line 121
isRunning($pidFile = null)

Parameters

$pidFile