1000
WebSocket

1000 Normal Closure

The connection has been closed cleanly, meaning the purpose for which it was established has been fulfilled. Both endpoints agree the session is complete.

Cuándo verás este código

The WebSocket connection closed gracefully after both sides finished exchanging data. This is the expected close code for a successful session.

Cómo solucionarlo

No fix needed — this indicates everything worked as intended. If you did not expect the connection to close, check your application logic for premature close() calls.

Comparar con

Guías

Escenarios de depuración

Especificaciones

Guías de decisión

Glosario