Commit Graph

31 Commits

Author SHA1 Message Date
wpetit bb857ced6b Add method to remove message handler 2018-09-19 12:02:09 +02:00
wpetit 52a9157a07 Remove unwanted dependency 2018-09-19 10:19:02 +02:00
wpetit 85050e6154 Do not serialize message arguments when they are empty 2018-09-18 18:02:19 +02:00
wpetit 67dd1d6bfb Apply goformat on source code 2018-09-18 18:01:28 +02:00
wpetit c4d6acdb9f Migrate package to forge.cadoles.com/Pyxis namespace 2018-09-18 17:59:07 +02:00
Gennadii Kovalev 2c44953b9b close channel on server side 2017-05-10 18:27:25 +02:00
Gennadiy Kovalev 9ad754ba04 Merge pull request #15 from dcormier/master
Added missing lock when reading field
2017-05-02 15:00:59 +02:00
Daniel Cormier 1c770bb431 Added missing lock when reading field (was already used when writing field)
This avoids a data race found in tests involving disconnecting the client with the `-race` flag.
2017-03-17 16:09:22 -04:00
Gennadiy Kovalev fe537904e1 Merge pull request #11 from dcormier/master
Allow request headers to be included in initial connection to server
2017-03-17 16:52:37 +02:00
Gennadii Kovalev 1f2f313d47 encoding/json panic recovery 2017-03-15 15:34:51 +02:00
Gennadii Kovalev 1f0997054e x-forward header handling 2017-03-15 15:34:51 +02:00
Gennadii Kovalev cb493ff1fe usage changed 2017-03-15 15:34:51 +02:00
Daniel Cormier 9010d067c5 Allow request headers to be included in initial connection to server 2016-12-29 09:43:18 -05:00
Gennadiy Kovalev 098f1cc65e Merge pull request #8 from penguinpowernz/patch-1
Would you double licence?
2016-12-25 02:50:51 +02:00
Robert McLeod be6c2205a3 double licenced as GPL3 and MIT 2016-10-19 16:33:53 +13:00
Gennadii Kovalev 61eb0294e6 server. store connection header. (for X-Forwarded-For, and so on) 2016-08-16 02:31:06 +02:00
Gennadii Kovalev 7b8d3aca48 caller. prevent fatals with "nil" function argument given. 2016-08-16 02:30:25 +02:00
Gennadii Kovalev ccde7b309c event loop. overflooded counter cleanup on connection close. 2016-07-05 20:18:06 +02:00
Gennadii Kovalev 426d5cedc6 server. get ip of client. 2016-07-05 20:15:57 +02:00
Gennadii Kovalev 8a95c01df6 loop. error fix. break inLoop after closing channel. 2016-06-22 16:06:51 +02:00
Gennadii Kovalev 533dd6f9e8 server. list does not return error. amount of channels in room added. 2016-05-27 14:53:45 +02:00
Gennadii Kovalev ec90f20e1f send. allow "nil" arguments to send, emit, broadcast 2016-05-27 14:51:37 +02:00
Gennadii Kovalev 79023de6ce caller. handler's args are optional. 2016-05-22 20:04:25 +02:00
Gennadii Kovalev b811737225 client. allow connection to any url. url generator function. 2016-05-20 14:26:18 +02:00
Gennadii Kovalev ae104e987d import paths fixed for examples 2016-05-20 13:29:22 +02:00
Gennadii Kovalev 796d068e87 import paths fixed 2016-05-18 22:55:49 +02:00
Gennadii Kovalev fc9ef8ee5a readme. js url fix 2016-05-18 22:20:33 +02:00
Gennadii Kovalev f931f46fd8 readme. js code error fix 2016-05-18 22:14:14 +02:00
Gennadii Kovalev e1bca513f2 readme. js code error fix 2016-05-18 22:12:05 +02:00
Gennadii Kovalev 52ee6ec03c socket.io library. current version. 2016-05-18 22:11:10 +02:00
Gennadiy Kovalev 9322a52075 Initial commit 2016-05-18 22:07:02 +02:00