[−][src]Function sudoku_backend::ops::routes::v1::play::new
pub fn new(
db: DatabaseConnection,
ac: State<ActivityCache>,
cookies: Cookies,
difficulty: NewBoardRequestForm
) -> Result<Custom<Json<BoardMessage>>, Custom<Json<GenericError>>>
Get a new board of the specified difficulty and update the session.