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.
bazarr/libs/signalrcore/messages/ping_message.py

21 lines
383 B

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)