Interface Rest


  • public interface Rest
    This is the main interface of the REST system.

    Usage:

         Rest rest = Rest.connect("127.0.0.1", 8080);
     
         CompletableFuture<Response> future = rest.post("user", 
             Param.of("firstname", "Adam"), 
             Param.of("lastname", "Adamsson")
         );
     
         future.get();
     
    Since:
    1.0.0
    Author:
    Emil Forslund