Commit Graph

33 Commits

Author SHA1 Message Date
parkerzhu aaf226f3d1 add local addr and remote addr function to session 2022-09-13 16:18:15 +02:00
parkerzhu fd663c8c45 add local addr and remote addr for session 2022-09-13 16:17:33 +02:00
Ola 964c1f0660 Constant errors 2022-09-13 15:51:28 +02:00
lesismal e21886f3a7 Fix concurrent panic 2021-05-20 03:01:17 +08:00
Robbie Trencheny a9e9ebdfdc Remove default close handler which caused abnormal closes 2017-04-12 14:41:55 -07:00
Ola Holmström 260e857d57 Merge branch 'session-isclosed' of https://github.com/robbiet480/melody into robbiet480-session-isclosed 2017-04-09 18:14:26 +02:00
Ola Holmström 5fe1bff6a7 Fix typo error message. 2017-04-09 18:03:14 +02:00
Robbie Trencheny b2ece16412 Add IsClosed method to Session 2017-04-07 14:16:23 -07:00
Robbie Trencheny b5a06028d4 Golint fixes 2017-03-28 14:04:34 -07:00
Robbie Trencheny 9a70fe93ac Add closeHandler support 2017-03-28 14:00:51 -07:00
Robbie Trencheny c773bc2f72 Allow sending custom close messages 2017-03-28 13:48:20 -07:00
Ola Holmström aea0b4aedf split HandleSentMessage into text and binary methods 2017-02-10 23:53:55 +01:00
Ola Holmström 3321ec3da7 Return error messages for some exposed methods, fix panic when connection is closed. Close #21. 2017-02-10 23:12:27 +01:00
Robbie Trencheny 7ba6d478f0 Add a handler for message successfully sent 2017-01-30 14:14:07 -08:00
Ola Holmström 8f11201a19 Store data on a per sessions basis, based on the Gin interface. 2016-12-09 22:34:36 +01:00
Ola Holmström ca5ae7e3c4 Merge branch 'master' of https://github.com/ReforgedStudios/melody into ReforgedStudios-master 2016-12-09 21:48:16 +01:00
Heikki Uljas aae1ca83fc Use generic params 2016-11-18 09:19:02 +02:00
Heikki Uljas fad38bc8b3 Changed session params to be generic type 2016-11-18 09:14:19 +02:00
Ola Holmström 5a3ec43235 golint 2016-05-10 21:13:28 +02:00
Ola Holmström 5a123d29ef add HandlePong 2016-05-09 23:38:22 +02:00
Matt Caldwell 3fb44fab6c Use a mutex to ensure SetPongHandler atomicity 2016-05-08 20:21:27 -04:00
Matt Caldwell aa4fbf9617 Add hook for extending PongHandler 2016-05-08 17:54:50 -04:00
Heikki Uljas cf8236b938 Added params to session 2016-01-13 08:03:00 +02:00
Ola Holmström 241a6879bf use write raw instead of write message in ping, close #8 2015-11-24 19:40:40 +01:00
Ola Holmström 42b1aafdf8 rewrite writeMessage 2015-09-18 16:47:30 +02:00
Ola Holmström ee4453a904 ensure order of messages and dispatch error handler when buffer is full 2015-09-18 14:50:46 +02:00
Ola Holmström ff425ac175 Issue #3: Add close method 2015-09-03 17:30:36 +02:00
Ola Holmström 5c5e059a07 better docs 2015-06-21 13:40:28 +02:00
Ola Holmström 0c379737b4 binary messages and tests 2015-06-10 23:56:06 +02:00
Ola Holmström 4adcb388e6 multi channel chat demo 2015-05-14 19:29:20 +02:00
Ola Holmström aedcbc9362 fix documentation 2015-05-13 23:17:16 +02:00
Ola Holmström 9f353b18a2 documentation 2015-05-13 23:15:10 +02:00
Ola Holmström fb9197b6ff first version 2015-05-13 22:37:17 +02:00