@Override
    public String toString() {
        if (text != null) {
            return text;
        }
        // For example: "1000 Bye", "1009 Message too big"
        text = code() + " " + reasonPhrase();
        return text;
    }
Equality of {@link WebSocketCloseStatus} only depends on {@link #code()}.
core/src/main/java/com/linecorp/armeria/common/websocket/WebSocketCloseStatus.java