> For the complete documentation index, see [llms.txt](https://earnbit.gitbook.io/earnbit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://earnbit.gitbook.io/earnbit/developers/exchange-api-documentation/public-methods-or-websoket/ping-pong.md).

# Ping-Pong

#### Method

```javascript
server.ping
```

#### Request example

```javascript
{
  "method":"server.ping",
  "params":[],
  "id":1}
}
```

#### Response "result" parameters

| Name | Type   | Desciption                                        |
| :--: | ------ | ------------------------------------------------- |
| pong | STRING | "pong" is responded when websockets work properly |

#### Response example

```javascript
{
    "id": 1,
    "params": [],
    "result": "pong",     
    "error": null
}
```
