platypush.message.event.http

class platypush.message.event.http.HttpEvent(request, response, *args, **kwargs)[source]

Event triggered upon HTTP request/response cycle completion

__init__(request, response, *args, **kwargs)[source]
Parameters:
  • request (dict) – Reference to the original HTTP request
  • response (dict or list) – The server response