# 1XX - Server status

### 100 - Server version and time

Returns the server version (established in the server configuration file) and the current server time (as a timestamp)

**In**

```javascript
{"type":100}
```

**Out**

```javascript
{"type":100,"data":{"version":"0.1.0","t":1607339705}}
```

### 101 - Connected clients

Returns the number of connected clients. If data.channel is provided, the number of clients of that channel will be returned.

**In**

```javascript
{"type":101}
```

**Out**

```javascript
{"type":101,"data":{"clients":0}}
```

### 102 - Channel list

Returns the list of existing channels and the number of connected clients for each one.

**In**

```javascript
{"type":102}
```

**Out**

```javascript
{"type":102,"data":{"channels":[{"name":"0","clients":1},{"name":"Test","clients":1}]}}
```
