1.0.0 RC2
Pre-release
Pre-release
- Fixed marking that peer initiated close when remote socket closes.
- Close promise is now resolved with the close code and reason in a two-element array.
- Promise returned from
Rfc6455Client::receive()is now failed if the connection closes with a non-normal close code instead of resolving withnull(which remains the case on normal closure). (#5) - Added
Code::getName(int $code)that returns the constant name for the given code or null if it is not defined. - Timestamps in
ClientMetadataare now set usingAmp\getCurrentTime()instead oftime().