refactor: rename DTree to DValue

This commit is contained in:
udo
2026-06-12 11:05:52 +00:00
parent 941f5aea08
commit 7066da3cde
157 changed files with 1203 additions and 1074 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
#include "testlib.h"
DTree websocket_suite_event(Request& context, String type, String nonce)
DValue websocket_suite_event(Request& context, String type, String nonce)
{
DTree event;
DValue event;
event["type"] = type;
event["nonce"] = nonce;
event["connection_id"] = ws_connection_id();
@@ -106,7 +106,7 @@ WS(Request& context)
return;
}
DTree payload = json_decode(ws_message());
DValue payload = json_decode(ws_message());
String type = trim(payload["type"].to_string());
String nonce = trim(payload["nonce"].to_string());