@ -1,3 +1,7 @@
## 2017-05-18
* Fix `HandleSentMessageBinary`.
## 2017-04-11
* Allow any origin by default.
@ -173,6 +173,7 @@ func main() {
* Matt Caldwell (@mattcaldwell)
* Heikki Uljas (@huljas)
* Robbie Trencheny (@robbiet480)
* yangjinecho (@yangjinecho)
## FAQ
@ -129,7 +129,7 @@ func (m *Melody) HandleSentMessage(fn func(*Session, []byte)) {
// HandleSentMessageBinary fires fn when a binary message is successfully sent.
func (m *Melody) HandleSentMessageBinary(fn func(*Session, []byte)) {
m.messageSentHandler = fn
m.messageSentHandlerBinary = fn
}
// HandleError fires fn when a session has an error.