harp_apps.http_client.events¶
- class HttpClientFilterEvent[source]¶
Bases:
EventCustom event class embedding an
httpx.Requestand an optionalhttpx.Response, allowing to filter external requests made by the client. It also allows script execution, providing some context for systems like filtering rules (seerulesapplication).- property criteria¶
- property endpoint¶
- property fingerprint¶
- EVENT_FILTER_HTTP_CLIENT_REQUEST = 'http_client.filter.request'¶
Event fired when an external request is about to be sent by the HTTP client.
- EVENT_FILTER_HTTP_CLIENT_RESPONSE = 'http_client.filter.response'¶
Event fired when an external response is received by the HTTP client.