|
|
@@ -33,5 +33,15 @@ return [
|
|
|
'php', 'html', 'htm', 'env'
|
|
|
]
|
|
|
]
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ 'websocket' => [
|
|
|
+ 'handler' => process\TcpServer::class,
|
|
|
+ 'listen' => 'websocket://0.0.0.0:8888',
|
|
|
+ 'count' => 1,
|
|
|
+ ],
|
|
|
+ // 'log_cleaner' => [
|
|
|
+ // 'handler' => process\WorkerLogCleaner::class,
|
|
|
+ // ]
|
|
|
];
|
|
|
+
|
|
|
+// see [https://www.workerman.net/doc/webman/process.html](https://www.workerman.net/doc/webman/process.html)
|