Glar.io Websocket Decoder

You can decode messages from WebSocket Server by the Hooks.Protocol.decode or window.SocketProtocol.decode

Аўтар
Dekudo
Daily installs
0
Total installs
106
Рэйтынг
0 0 0
Версія
0.1
Створаны
06.04.2023
Абноўлены
06.04.2023
Памер
1.5 КБ
Ліцэнзія
Н/Д
Applies to

You can take this script and change it, if you want. There you can use Protocol object by the window.SocketProtocol or Hooks.Protocol.

With this object you can use some methods:
.decode
.encode
.Message
.ParseResourceType

And some properties:
.ItemType
.MessageType
.ProtobufRoot
.ResourceType