Home > front end >  WebSocket cannot catch exceptions
WebSocket cannot catch exceptions

Time:12-03

Such as there is something wrong with the links or server broken situation directly

CodePudding user response:

Combined with the heartbeat mechanism and to monitor the close

CodePudding user response:

I mean the new can't help to let this error has been an error

CodePudding user response:

Try catch

CodePudding user response:

Tried, try catch can't capture, and also this is asynchronous, and one rror events can be obtained in the event, but also can throw an exception

CodePudding user response:

Hello World reference 4 floor, response:
tried, try catch can't capture, and also this is asynchronous, and one rror events can be obtained in the event, but also can throw an exception
yes

CodePudding user response:

https://blog.csdn.net/shangmingtao/article/details/77447868
This is to teach how to use the one rror, solve the midway accident disconnect

CodePudding user response:

refer to 6th floor that who ah sa reply:

https://blog.csdn.net/shangmingtao/article/details/77447868This is to teach how to use the one rror, solve the midway disconnected accidentally
is the time to link thrown exception, I say, not this
  • Related