HttpCallback Interface

May 27, 2025 ยท View on GitHub

Callback to be called before and after the HTTP call for an endpoint is made.

Methods

NameDescriptionReturn Type
onBeforeRequest(HttpRequest request)Callback called just before the HTTP request is sent.void
onAfterResponse(HttpContext context)Callback called just after the HTTP response is received.void