mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-13 06:04:26 +02:00
update Antunnel + vTerm
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -9,7 +9,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@lxsang.me"
|
||||
},
|
||||
"version":"0.1.5-a",
|
||||
"version":"0.1.6-a",
|
||||
"category":"Library",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"],
|
||||
|
Binary file not shown.
@ -59,6 +59,7 @@ Msg.CLOSE = 5
|
||||
Msg.SUBSCRIBE = 2
|
||||
Msg.UNSUBSCRIBE = 3
|
||||
Msg.CTRL = 7
|
||||
Msg.PING = 8
|
||||
Msg.MAGIC_END = [0x44, 0x54]
|
||||
Msg.MAGIC_START = [0x4e, 0x41 ]
|
||||
|
||||
@ -168,6 +169,8 @@ class AntunnelApi
|
||||
sub = @subscribers[msg.header.sid]
|
||||
return unless sub
|
||||
sub.close(true)
|
||||
when Msg.PING
|
||||
# do nothing
|
||||
else
|
||||
console.error "Message of type #{msg.header.type} is unsupported", msg
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@lxsang.me"
|
||||
},
|
||||
"version":"0.1.5-a",
|
||||
"version":"0.1.6-a",
|
||||
"category":"Library",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"],
|
||||
|
Reference in New Issue
Block a user