t3l3p05t

A UDP based copy of Graphene Server

Status: Experimental, untested code.

Library Example

String message = "Hello World";
await startServer(
  internetAddress: InternetAddress.anyIPv4, 
  port: 8080, 
  query: Query(
    resolver: {
      "hello_world": (arguments)async{
        return message;
      }
    },
  ), 
  mutations: Mutation(
    resolver: {
      "update_message": (arguments)async{
        String newMessage = arguments["new_message"];
        message = newMessage;
        return true;
      },
    },
  ),
);

Libraries

auth
t3l3p05t