websocket

class platypush.message.event.websocket.WebsocketMessageEvent(*args, url: str, message: Any, **kwargs)[source]

Bases: Event

Event triggered when a message is receive on a subscribed websocket URL.

__init__(*args, url: str, message: Any, **kwargs)[source]
Parameters:
  • url – Websocket URL.

  • message – The received message.