from platypush.message.event import Event


class HttpEvent(Event):
    """
    Event triggered upon HTTP request/response cycle completion
    """

    def __init__(self, request, response, *args, **kwargs):
        """
        :param request: Reference to the original HTTP request
        :type request: dict

        :param response: The server response
        :type response: dict or list
        """

        super().__init__(*args, request=request, response=response, **kwargs)


# vim:sw=4:ts=4:et:
