Files
NowChessSystems/bruno/ws/01 Game WebSocket.bru
T
2026-04-30 18:56:54 +02:00

32 lines
641 B
Plaintext

meta {
name: Game WebSocket
type: http
seq: 1
}
http {
method: GET
url: {{wsBaseUrl}}/api/board/game/{{gameId}}/ws
auth: none
}
headers {
Authorization: Bearer {{token}}
Connection: Upgrade
Upgrade: websocket
}
notes {
WebSocket connection for real-time game updates.
Local: ws://localhost:8084/api/board/game/{{gameId}}/ws
Staging: wss://st.nowchess.janis-eccarius.de/ws/api/board/game/{{gameId}}/ws
Prod: wss://nowchess.janis-eccarius.de/ws/api/board/game/{{gameId}}/ws
Message Types:
- CONNECTED: Connection established
- MOVE: Player move
- GAME_STATE: Full state update
- ERROR: Error message
}