34 Commits

Author SHA1 Message Date
MihailRis
e8d43a8fc3 fix network.__post does not return request id 2025-09-11 17:36:33 +03:00
MihailRis
327115b3fc Merge branch 'dev' into fix-cannot-resume-dead-coroutine-again-http-edition 2025-09-10 01:24:29 +03:00
MihailRis
f9d923101a replace http-callbacks with events_queue entries 2025-09-10 00:16:24 +03:00
Onran0
ba8d85c00d fixes: implemented buffer copying; fixed access race (now the code is thread-safe) 2025-09-10 05:50:11 +09:00
MihailRis
d70e987714 cleanup 2025-09-09 00:06:25 +03:00
MihailRis
9871bf1292 add 'headers' argument to network.get, network.get_binary and network.post 2025-09-08 23:46:37 +03:00
Onran0
8d79ee3499 minor fixes 2025-08-24 08:38:25 +09:00
Onran0
1bea391f1d fixes 2025-08-24 08:31:13 +09:00
Onran0
4a9aad04ff udp support 2025-08-24 02:39:05 +09:00
MihailRis
47c97ccd46 fix 'resume dead coroutine' for client 2025-07-26 18:08:10 +03:00
MihailRis
1bd3463488 fix "cannot resume dead coroutine" for servers 2025-07-26 17:08:45 +03:00
MihailRis
556a561f1c feat: error callback in network.get, .get_binary, .post 2025-04-30 19:15:39 +03:00
MihailRis
303e861fbb replace Bytearray with FFI implementation 2025-04-07 20:48:12 +03:00
MihailRis
4c48afbb90 refactor: add GUI instance reference to UI nodes 2025-04-02 14:55:53 +03:00
MihailRis
a0b0c0a9f0 disable utf-8 escaping in json.stringify by default & add utfEscape argument to json.stringify & update network.post behaviour for pre-serialized data 2025-03-17 00:21:31 +03:00
MihailRis
d2bbd82dbe add 'discardAll' parameter to socket:close(...) 2025-01-17 23:43:44 +03:00
MihailRis
b8944f86c6 refactor vc coroutines error-handling & update socket:is_alive(), socket:send(...) 2025-01-15 05:27:10 +03:00
MihailRis
96b904e61f add network.post 2025-01-08 17:02:07 +03:00
MihailRis
13de581b4b add socket:available() --> int 2025-01-07 18:44:40 +03:00
MihailRis
5e76cdfadc rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder 2024-12-25 12:13:03 +03:00
MihailRis
d0fbbeecbe fix random fatal error in socket:recv 2024-12-04 23:32:59 +03:00
MihailRis
36edad039c add string socket:send overload 2024-12-04 12:05:10 +03:00
MihailRis
21c76c1b0d add socket:get_address, serversocket:get_port 2024-11-30 22:32:14 +03:00
MihailRis
05003a4082 fix fatal error on uncaught lua exceptions in network functions calls 2024-11-29 20:32:18 +03:00
MihailRis
46628263d1 add network.get_total_upload, .get_total_download 2024-11-28 10:21:16 +03:00
MihailRis
951d2fd1f8 add socket:is_alive, :is_connected, serversocket:is_open 2024-11-27 17:46:09 +03:00
MihailRis
847ef23092 add network.__closeserver 2024-11-27 16:14:20 +03:00
MihailRis
a72d36f53c add simple inefficient server socket implementation (WIP) 2024-11-27 15:38:57 +03:00
MihailRis
233bc3174c add network.__close 2024-11-27 12:51:01 +03:00
MihailRis
fb0f4bff52 complete simple connection implementation 2024-11-27 12:10:59 +03:00
MihailRis
aa7fa6be5b add network.__connect 2024-11-26 21:26:26 +03:00
MihailRis
90155dd05b rename functions 2024-11-24 07:58:07 +03:00
MihailRis
5e063d9fe0 refactor Network 2024-11-23 09:49:17 +03:00
MihailRis
b23318a06c add network.http_get, network.http_get_binary 2024-11-22 07:30:38 +03:00