Run it
Copy the script and paste it into your executor.
(, );
version = ;
logname = .(, .());
serializerpath = .(, version);
() () ;
() () ;
(logname) (logname, ) ;
(serializerpath) (serializerpath, :()); ;
Serializer = ((serializerpath))()
pconsole = rconsoleprint;
format = .format;
gsub = .gsub;
append = appendfile;
methods = {
HttpGet = ,
HttpGetAsync = ,
GetObjects = ,
HttpPost = ,
HttpPostAsync =
}
(...)
(logname, ((...), , ));
((...));
;
__namecall, __request;
__namecall = (, , ((self, ...)
method = ();
methods[method]
(, method, Serializer.(...));
;
(self, ...);
));
__request = (.request, ((req)
BE = .();
.(()
ResponseData = (req);
BackupData = {};
i,v (ResponseData)
BackupData[i] = v;
;
BackupData.Headers[] ==
body = BackupData.Body;
ok, res = (.HttpService.JSONDecode, .HttpService, body);
ok
BackupData.Body = res;
;
;
(, Serializer.(req), Serializer.(BackupData));
BE.(BE, ResponseData);
)();
BE.Event:();
));
(, , ) ==
id = ;
__websocket = (.websocket.connect, (url)
BE = .();
.(()
WebsocketId = .. id;
WebSocket = (url);
mt = (WebSocket);
__send, __close = WebSocket.Send, WebSocket.Close;
(, WebsocketId, Serializer.(url));
mt.__newindex = (self, ...)
(self, ...);
;
WebSocket.Send = (self, message)
(self, message);
(, WebsocketId, Serializer.(message));
;
WebSocket.Close = (self)
(self);
(, WebsocketId);
;
WebSocket.OnMessage:((message)
(, WebsocketId, Serializer.(message));
);
WebSocket.OnClose:(()
(, WebsocketId);
);
BE.(BE, WebSocket);
)();
id = id + ;
BE.Event:();
);
;
RecentCommit = .HttpService:(.(, ))[].commit.message;
method (methods)
b;
b = ([method], ((self, ...)
(, method, Serializer.(...));
(self, ...);
));
;
((, version, RecentCommit, logname))Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com, api.github.com.
โ ๏ธ This wasn't made by me! This was made by dsf#2711. โ HTTP(S) Request reconstructing โ Syntax Highlighting โ Lightweight โ Supports Synapse X and Shitware โ Auto JSON decoding โ Easy to use - Execute and use