Skip to content

taluks/Nadclient-Dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

nadron_dart

Dart library which implements the protocol for the Nadron (https://github.com/menacher/java-game-server/tree/netty4)

 Config config = new Config(["user", "pass", "reconnectKey"]);
  Function _onStart = (Session session) => print("connected");
  Session session =
      new Session("ws:https://localhost:18090/nadsocket", config, _onStart);
  session.send(new NadEvent(NadEvent.SESSION_MESSAGE, {"text": "test"}));
  session.addHandler(NadEvent.ANY,
      (NadEvent e) => print("Event any " + (e != null ? e.toString() : "null")));

Releases

No releases published

Packages

No packages published

Languages