\App\WorkermanEvents

Summary

Methods
Properties
Constants
onWorkerStart()
onConnect()
onWebSocketConnect()
onMessage()
onClose()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

onWorkerStart()

onWorkerStart(  $businessWorker) 

2021/4/11--9:17 下午

Parameters

$businessWorker

onConnect()

onConnect(  $client_id) 

2021/4/11--9:17 下午

Parameters

$client_id

onWebSocketConnect()

onWebSocketConnect(  $client_id,   $data) 

Parameters

$client_id
$data

onMessage()

onMessage(  $client_id,   $message) 

2021/4/11--9:17 下午

Parameters

$client_id
$message

onClose()

onClose(  $client_id) 

2021/4/11--9:17 下午

Parameters

$client_id