Skip to content

onError ​

说明: ​

php
callback Connection::$onError

作用与 Worker::$onError 回调相同,区别是只针对当前连接起作用,即可以单独设置某个连接的 onError 回调