You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
383 B
21 lines
383 B
4 years ago
|
from .base_message import BaseMessage
|
||
|
"""
|
||
|
A `Ping` message is a JSON object with the following properties:
|
||
|
|
||
|
* `type` - A `Number` with the literal value `6`,
|
||
|
indicating that this message is a `Ping`.
|
||
|
|
||
|
Example
|
||
|
```json
|
||
|
{
|
||
|
"type": 6
|
||
|
}
|
||
|
```
|
||
|
"""
|
||
|
|
||
|
|
||
|
class PingMessage(BaseMessage):
|
||
|
def __init__(
|
||
|
self, **kwargs):
|
||
|
super(PingMessage, self).__init__(6, **kwargs)
|