Commit Graph

10 Commits

Author SHA1 Message Date
Bridget
16e481ad54 Broadcast all commands, even internal ones
This makes it possible to create hook scripts that will execute on
connect, disconnect, etc.
2020-04-13 17:23:14 +02:00
Bridget
53df199bef Only allow one session in use at a time 2020-04-13 15:37:45 +02:00
Bridget
39e2a8ee74 Rename connection intitialization string 2020-04-13 15:15:42 +02:00
Bridget
551befc4ae Refactor 2020-04-13 15:10:53 +02:00
Bridget
682e744be9 Fix typo in comment 2020-04-13 15:05:34 +02:00
Bridget
14af7b04d7 Remove global request_id key
This variable was only used for double-checking the link_message
response. Because we use a specific number in the link_message
communications, we can assume the returned ID is valid.
2020-04-13 14:52:29 +02:00
Bridget
96fa40d610 Refactor 2020-04-13 14:50:09 +02:00
Bridget
33f72da7ce Refactor 2020-04-13 14:41:15 +02:00
Bridget
65157ffb04 Properly serialize into JSON 2020-04-13 14:07:34 +02:00
Bridget
72e1bcd388 Rename file for clarity 2020-04-13 13:59:22 +02:00