platypush.message.event.log.http

class platypush.message.event.log.http.HttpLogEvent(logfile: str, address: str, time: datetime.datetime, method: str, url: str, status: int, size: int, http_version: str = '1.0', user_id: Optional[str] = None, user_identifier: Optional[str] = None, referrer: Optional[str] = None, user_agent: Optional[str] = None, **kwargs)[source]

Event triggered when a new HTTP log entry is created.

__init__(logfile: str, address: str, time: datetime.datetime, method: str, url: str, status: int, size: int, http_version: str = '1.0', user_id: Optional[str] = None, user_identifier: Optional[str] = None, referrer: Optional[str] = None, user_agent: Optional[str] = None, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]