Properties

$_context

$_context : 

Type

$_logData

$_logData : 

Type

$_logMsg

$_logMsg : 

Type

$_logLevel

$_logLevel : 

Type

$_errStatus

$_errStatus : 

Type

$_errCode

$_errCode : 

Type

$_errMsg

$_errMsg : 

Type

$_errData

$_errData : 

Type

$server

$server : 

Type

$config

$config : 

Type

$workerStartCallback

$workerStartCallback : 

Type

$workerStopCallback

$workerStopCallback : 

Type

$requestCallback

$requestCallback : 

Type

$responseCallback

$responseCallback : 

Type

$endCallback

$endCallback : 

Type

Methods

sysLog()

sysLog(  $level,   $msg,   $data) 

Parameters

$level
$msg
$data

error()

error(  $status,   $code,   $msg,   $data = null) 

Parameters

$status
$code
$msg
$data

getSysClassName()

getSysClassName() 

getSysLogData()

getSysLogData() 

getSysLogMsg()

getSysLogMsg() 

getSysLogLevel()

getSysLogLevel() 

getErrCode()

getErrCode() 

getErrStatus()

getErrStatus() 

getErrMsg()

getErrMsg() 

getErrData()

getErrData() 

getErrArray()

getErrArray() 

setCoreCallback()

setCoreCallback(callable  $coreCallback) 

Parameters

callable $coreCallback

getContext()

getContext() 

onWorkerStart()

onWorkerStart(\swoole_http_server  $server,   $worker_id) 

Parameters

\swoole_http_server $server
$worker_id

onWorkerStop()

onWorkerStop(\swoole_http_server  $server,   $worker_id) 

Parameters

\swoole_http_server $server
$worker_id

onRequest()

onRequest(  $request,   $response) 

Parameters

$request
$response