Class JoinOnlineGameController

java.lang.Object
com.chess.backend.restController.controller.JoinOnlineGameController

@RestController @CrossOrigin @RequestMapping("/joinOnlineNewGame") public class JoinOnlineGameController extends Object
This class handles the API-call to create a new game.
Author:
Hannes Stuetzer
  • Constructor Details

  • Method Details

    • joinOnlineGame

      @PostMapping public int joinOnlineGame(@RequestBody JoinOnlineGameObject joinOnlineGameObject)
      Method that is called on a post request.