Cannot access close code
mbonneau opened this issue · comments
Looking at this
there is a close code and it travels on error as an exception.@WyriHaximus - I am planning on merging #4 if I can get someone to take a look at it. This will be a bigger change as it will primarily use https://github.com/ratchetphp/RFC6455 for the actual protocol now that all the updates have been merged over there.
I have pushed a commit to send any non-1000 error codes through to the error handler so that the code can be retrieved.
@mbonneau cool much appreciated, will review it shortly but it's a lot :P
@WyriHaximus - This change is available in the 0.10.0 release.
@mbonneau awesome, thank you 🎉