> On 3 Jun 2016, at 14:58, Simone Bordet <simone.bor...@gmail.com> wrote: > > The implementation should reply to a Close frame with a Close frame > with the same code. > Applications do not need to call sendClose() from within onClose().
It's just this thing can be done. We can't prohibit sending a Close message from within onClose(). Though it would NOT be necessary. > But onClose() should return a CS, or you decided not to ? If so, can > you detail why, FTR ? I explicitly mentioned this in my previous email: >> (Please note that here I'm only talking about Close message >> representation. Other topics discussed, like returning CS/CF from onClose >> will >> be addressed later.) Though I told you that I liked the idea, I'm trying to critically look at it and find as many pros and cons as I can. Thanks.