Working io

This commit is contained in:
2026-02-19 16:31:00 +01:00
parent b1198e89d6
commit 1a4647b0f9
@@ -6,9 +6,9 @@ public class SessionTest {
static void testRequest() throws Exception { static void testRequest() throws Exception {
Session session = Session.connect("ws://localhost:8080/"); Session session = Session.connect("ws://localhost:8080/");
session.request(Methods.Data.getNameStatic(), "", String.class); String response = session.request(Methods.Data.getNameStatic(), "Hello from client", String.class).get();
System.out.println("test"); System.out.println(response);
Thread.sleep(1000); Thread.sleep(1000);
} }