Git Product home page Git Product logo

Comments (3)

walkor avatar walkor commented on May 18, 2024
close方法中$this->send 参数错误

没看出参数哪里错了

from workerman.

agui2200 avatar agui2200 commented on May 18, 2024

.....就$this->send,在close方法里面,send的时候,传的是你自己写的msg字符串,然后因为定义的方法,默认是要去封包的,封包的时候就会失败了,还有个问题,set_error_handler,这个东西,我觉得workerman自己应该定义一个

from workerman.

walkor avatar walkor commented on May 18, 2024

发个pullrequest吧,看不懂你在说什么。 定义方法?封包失败?因为定义的方法导致封包失败?

set_error_handler 框架自身用不到这个,没有必要定义。并且定义了可能会影响业务,因为业务很可能会定义自己的set_error_handler 。如果业务需要它可以完全自己定义。

from workerman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.