1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-27 01:57:33 +00:00
bazarr/libs/signalrcore/messages/ping_message.py

20 lines
383 B
Python

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)