Merge branch 'review/slice-8-session'
This commit is contained in:
+3
-2
@@ -64,8 +64,9 @@ Returns `{ "userName": "Leo" }` when the cookie is valid, otherwise `401`.
|
||||
Clears the session cookie. `204`.
|
||||
|
||||
The WebSocket at `/ws/game` uses the same cookie on upgrade. Without a valid cookie the server
|
||||
closes the connection with a policy violation and never sends Welcome. Hello is unchanged
|
||||
(version + locale only).
|
||||
closes the connection with a policy violation and never sends Welcome. A second socket for a name
|
||||
that already has a live connection is closed the same way; `POST /api/session` for that name
|
||||
returns `409` `name-online`. Hello is unchanged (version + locale only).
|
||||
|
||||
### `GET /api/schools`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user